Function timeoutHandler

  • Given timeout options, and a process (event Handler) to wrap, returns a handler which times out with the specified duration and errorFactory.

    Type Parameters

    • TRequest
    • TNext
    • TError = Error

    Parameters

    Returns ((req) => ObservableInput<TNext>)