Function nextReturn

  • Builds a next call that skips the rest of the chain and returns the given value as call chain result.

    Not every call chain returns a result. In that case the nextSkip is a better choice.

    Type Parameters

    • TResult

      Call chain result type.

    Parameters

    • result: TResult

      Call chain result.

    Returns NextSkip<TResult>

    Next call skipping the rest of the passes.

Generated using TypeDoc