Skip to main content

Module task

Module task 

Source

Structs§

Task
A structure that contains the basic information of the job.
TaskStep
A task step.

Enums§

Status
Available task statuses.
TaskStepStatusErr
Possible error status values for a step’s execution.
TaskStepStatusOk
Possible success status values for a step’s execution.

Functions§

run_task
Wrap a Task around a receiver, each time a command is received, forward it to the task.

Type Aliases§

CallbackFn
An asynchronous lifecycle callback (on-success / on-failure / on-finish).
CallbackFuture
The boxed future produced by a lifecycle callback when it is invoked.
ExecutableFn
An executable, asynchronous function.
StepFuture
The boxed future produced by a task step when it is invoked.