Skip to content

SinkFetch

type SinkFetch = (input, init?) => Promise<Response>;

Defined in: src/sinks/shared.ts:13

The fetch shape sinks call (inject one for tests, proxies, or custom agents).

Parameter Type
input string | URL | Request
init? RequestInit

Promise<Response>