Skip to content

ResponseInterceptor

ResponseInterceptor = (response) => Response | undefined | Promise<Response | undefined>

Defined in: packages/fetch-kit/src/types.ts:49

A function that runs after a response is received but before the body is parsed. Receives the response and may return a different response or undefined to leave unchanged.

Response

Response | undefined | Promise<Response | undefined>