tuil
ReferencePackages@mwillbanks/tuil-workflowAPI

createWorkflow

function exported by @mwillbanks/tuil-workflow.

View rawEdit

function

Public function exported by @mwillbanks/tuil-workflow.

export function createWorkflow<TState>(
  definition: WorkflowDefinition<TState>,
): WorkflowRunner<TState>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
definitionWorkflowDefinition<TState>YesSupplies the definition value as WorkflowDefinition<TState>.WorkflowDefinition

Returns

WorkflowRunner<TState> — Returns a value that satisfies WorkflowRunner<TState>.

Related types: WorkflowRunner

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-workflow

On this page