Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkflowBuilder<TPrev>

A workflow builder.

Type parameters

  • TPrev = any

Hierarchy

  • WorkflowBuilder

Index

Methods

Methods

next

  • Adds the next action to invoke.

    chainable

    Type parameters

    • TNext = any

    Parameters

    Returns WorkflowBuilder<TNext>

start

  • start<TResult>(initialPrevValue?: any): PromiseLike<TResult>
  • Starts the workflow.

    Type parameters

    • TResult = TPrev

    Parameters

    • Optional initialPrevValue: any

    Returns PromiseLike<TResult>

    The promise with the result.

Generated using TypeDoc