Skip to main content

Module handler

Module handler 

Source
Expand description

Executor handler trait and related types for attempt-level execution.

This module defines the ExecutorHandler trait that implementations must fulfill to execute attempts. The handler receives an ExecutorContext containing execution identity, payload, metadata, and optional workflow extensions (submission channel and children snapshot).

Re-exports§

pub use cancellation::CancellationContext;
pub use cancellation::CancellationToken;

Modules§

cancellation
Cancellation mechanism for attempt execution.

Structs§

AttemptMetadata
Attempt-level execution metadata derived from task constraints.
ExecutorContext
Full execution context provided to a handler for each attempt.
HandlerInput
Execution context provided to the handler for each attempt.

Enums§

HandlerOutput
Outcome of an attempt execution.

Traits§

ExecutorHandler
Trait for executor implementations to fulfill for attempt execution.
TaskSubmissionPort
Abstract port through which a handler can propose new child tasks.