Task

Complete reference for the Task module and task creation system

Published: 1/15/2025

Task Module

The Task module is the core of the Forge framework, providing the foundational system for creating, executing, and managing tasks with built-in observability and boundary tracking.

Coming Soon

This section is currently under development. We're working on comprehensive documentation for:

  • Task creation: Using createTask to build robust tasks
  • Boundary management: Defining and tracking external dependencies
  • Error handling: Managing errors and failures in tasks
  • Task composition: Building complex workflows from simple tasks
  • Testing patterns: Best practices for testing tasks
  • Performance optimization: Making tasks efficient and scalable

Key Features

The Task module provides:

  • Boundary Tracking: Automatic tracking of external service calls
  • Type Safety: Full TypeScript integration with schema validation
  • Observability: Built-in logging and monitoring capabilities
  • Testability: Mock boundaries for reliable testing
  • Composability: Combine tasks to build complex workflows

Stay Updated

Have questions about the Task module or want to be notified when this documentation is complete? Email us at forge@siedrix.com