@bowencool/async-utilities
v2.5.4
Published
async utilities
Downloads
146
Maintainers
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
- ~~cacheAsync~~ see memoizee or lru-pcache
- [ ] abort fetch & xhr