workflows library

Classes

$WorkflowEvent
$WorkflowHistoryEntry
OnEnter<T extends DataObject, TState extends Enum>
Runs when an element enters state, or after that if the element is still in state then.
OnSignal<T extends DataObject, TState extends Enum, TSignal extends DataObject>
Runs when a signal of type TSignal was sent for an element.
RetryPolicy
Describes how often and how fast a failed step is retried.
SignalStepContext<T extends DataObject, TSignal extends DataObject>
The context of an OnSignal step.
StepContext<T extends DataObject>
What a step handler knows about the execution it is part of.
Workflow<T extends DataObject>
The workflow of the element type T.
WorkflowDescription
What a workflow consists of, see Workflow.describe.
WorkflowEvent
Something that is to happen to an element of a workflow: entering a state, or a signal.
WorkflowHistoryEntry
Something that happened to an element of a workflow.
WorkflowService<T extends DataObject, TState extends Enum>
Runs the workflow of the element type T, whose state is held by its field of type TState, and provides it as Workflow.
WorkflowSignal<T extends DataObject>
Marks a data object as signal for the workflow of the element type T.
WorkflowStep<T extends DataObject, TState extends Enum>
A unit of work of a workflow (see WorkflowService).
WorkflowStepDescription