Type Alias ResponseInterceptor

ResponseInterceptor: (
    response: InterceptableResponse,
) => 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