• Continues an async-iterable sequence that is terminated by an exception with the async-iterable sequence produced by the handler.

    Type Parameters

    • TSource

      The type of the elements in the source sequence.

    • TResult

      The type of elements from the handler function.

    Parameters

    • handler: ((error, signal?) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>)

      Error handler function, producing another async-iterable sequence.

        • (error, signal?): AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>
        • Parameters

          • error: any
          • Optional signal: AbortSignal

          Returns AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>

    Returns OperatorAsyncFunction<TSource, TSource | TResult>

    An operator which continues an async-iterable sequence that is terminated by an exception with the specified handler.

Generated using TypeDoc