ts-batch-fetch
Version:
A concurrency-controlled fetch library for browsers using ts-batch-processor
12 lines (11 loc) • 578 B
TypeScript
/**
* batch-fetch - A concurrency-controlled fetch library for browsers
* Built on top of ts-batch-processor for efficient request batching
*/
export { fetch, fetchList, getSuccessfulResults, getFailedResults, extractResponses, extractErrors, } from "./batch-fetch";
export { getConfig, updateConfig, resetConfig } from "./config";
export type { BatchFetchConfig, BatchRequestInit, FetchArgs, BatchFetchResult, FetchStore, } from "./types";
/**
* Default export provides the main fetch function as a drop-in replacement
*/
export { fetch as default } from "./batch-fetch";