WorkflowContext
interface exported by @mwillbanks/tuil-workflow.
interface
Public interface exported by @mwillbanks/tuil-workflow.
export interface WorkflowContext<TState> {
readonly state: TState;
readonly signal: AbortSignal;
readonly runner: WorkflowRunner<TState>;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
state | TState | Yes | The state member uses the TState contract. | — |
signal | AbortSignal | Yes | The signal member uses the AbortSignal contract. | — |
runner | WorkflowRunner<TState> | Yes | The runner member uses the WorkflowRunner<TState> contract. | WorkflowRunner |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference