@jspm/generator
Version:
Package Import Map Generation Tool
11 lines (9 loc) • 496 B
JavaScript
import { fetch, clearCache, setVirtualSourceData, isVirtualUrl, setRetryCount, setPoolSize as setFetchPoolSize, setNetworkFetch } from '@jspm/fetch';
export { fetch, clearCache, setVirtualSourceData, isVirtualUrl, setRetryCount, setFetchPoolSize };
/**
* Replace the underlying network fetch. Virtual sources, protocol handlers,
* pool, retry, in-flight dedup, and caching continue to wrap it.
*/ export function setFetch(fn) {
setNetworkFetch(fn);
}
//# sourceMappingURL=fetch.js.map