footprintjs - v11.2.0
    Preparing search index...

    Class SelectorFnList<TOut, TScope>

    Type Parameters

    • TOut = any
    • TScope = any
    Index
    • Add a pausable stage as a selector branch.

      When this branch is selected, the handler's execute runs. If it returns data, the pipeline pauses. On resume, handler.resume runs with the human's input. If execute returns void, the stage continues normally.

      Parameters

      • id: string
      • name: string
      • handler: PausableHandler<TScope>
      • Optionaldescription: string
      • Optionaloptions: { retry?: RetryPolicy; tags?: readonly string[]; touches?: StageTouches }

        { retry } gives THIS BRANCH's execute half a retry policy (the resume half runs without it — a different function, a different contract); { tags } puts declared tags on it.

      Returns SelectorFnList<TOut, TScope>