Type alias ResponseInterceptor

ResponseInterceptor: ((response) => void | PromiseLike<void>)

The ResponseInterceptor is a function that accepts a Response object as its argument and can return a promise. If it returns a promise then the response waits until the promise is resolved.

Type declaration

    • (response): void | PromiseLike<void>
    • Parameters

      Returns void | PromiseLike<void>