UNPKG

opnet

Version:

The perfect library for building Bitcoin-based applications.

7 lines (6 loc) 250 B
import { RequestInfo, RequestInit, Response } from './fetch-browser.js'; export type Fetcher = (input: RequestInfo, init?: RequestInit) => Promise<Response>; export interface FetcherWithCleanup { fetch: Fetcher; close: () => Promise<void>; }