tuil
ReferencePackages@mwillbanks/tuil-workflowAPI

defineWorkflow

function exported by @mwillbanks/tuil-workflow.

View rawEdit

function

Public function exported by @mwillbanks/tuil-workflow.

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

Members

This declaration has no public members.

Parameters

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

Returns

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

Related types: WorkflowDefinition

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-workflow

On this page