- Overview
- API reference
- Python
- Tasks
Tasks
Related guidance: concepts/tasks, how-to/receive-local-tasks, how-to/dispatch-local-tasks, quickstarts/effector-handler.
Runnable examples: receive_task.py, dispatch_task.py, receive_mesh_task.py, dispatch_mesh_task.py.
| Symbol | Summary |
|---|---|
Tasks | Register typed handlers and dispatch typed requests. |
TaskHandler | An async request-only or context-and-request task handler. |
RequestTaskHandler | Handle a validated task request without dispatch context. |
ContextTaskHandler | Handle a validated task request together with its dispatch context. |
TaskDispatchResult | A task result, acknowledgment, or dispatch receipt selected by task mode. |
TaskRequestContext | Describe the local context supplied to a registered task handler. |
TaskAcknowledgement | Report whether a task request was accepted. |
TaskResult | Carry a typed or JSON-object task result and its reported status. |
TaskRegistration | Describe one local task-handler registration. |
DispatchReceipt | Confirm broker acceptance of a fire-and-forget task dispatch. |
TaskMode | Select the requested task completion behavior. |
TaskStatus | Describe a task result’s reported state. |
Version 0.2.0 · branch main
