Package Exports
- @bowencool/async-utilities
- @bowencool/async-utilities/cjs/index.js
- @bowencool/async-utilities/es/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bowencool/async-utilities) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Async Utilities
一个异步工具库,风格以高阶函数为主。
An asynchronous tool library in the style of higher-order functions. Website
Usage
使用 npm:
npm i @bowencool/async-utilities
import { throttleAsyncResult } from '@bowencool/async-utilities';
在浏览器中:
<script scr="//unpkg.com/@bowencool/async-utilities"></script>
<!-- or -->
<script scr="//cdn.jsdelivr.net/npm/@bowencool/async-utilities"></script>
Todo
cacheAsyncsee memoizee or lru-pcache- abort fetch & xhr