• Steps through a single task with differing parameters and returns the results of the first successful one or last failed one


    For example:

    ], getResource).then(useResource);

    This is handy for when the only thing that changes between the steps in your plan are parameters.

    Type Parameters

    • P extends unknown[]

    • R


    • parameters: P[]

      a list of the parameters to pass to the Task. If the task takes multiple parameters, these should be represented as a list

    • task: Task<R, P>

      the Task to execute

    Returns Promise<R>

Generated using TypeDoc