Dex TypeScript SDK 1.28.1
    Preparing search index...

    Class StepList<StartInput>

    Builds the ordered Step definitions for a Flow.

    Type Parameters

    • StartInput

      Input type of the optional starting Step.

    Index

    Properties

    "[startInputType]": (input: StartInput) => StartInput

    Compile-time brand preserving the starting input type.

    Methods

    • Iterates Step definitions in registration order.

      Returns Iterator<StepDefinition>

      An iterator over the registered Step definitions.

    • Returns a copy with non-starting Steps appended.

      Parameters

      • ...steps: readonly Step<any>[]

        Registered Steps appended in argument order.

      Returns StepList<StartInput>

      A new StepList.

    • Creates a StepList containing only non-starting Steps.

      Type Parameters

      • StartInput = never

        Declared start input; defaults to never.

      Parameters

      • ...steps: readonly Step<any>[]

        Steps reachable through decisions, RPCs, or failure routing.

      Returns StepList<StartInput>

      A StepList without a starting Step.