https://github.com/bowencool/async-utilities
An asynchronous tools library in the style of higher-order functions.
https://github.com/bowencool/async-utilities
abort abortable async asynchronous cancel cancelable concurrent concurrent-queue concurrently debounce promise retry throttle timeout typescript utilities utils
Last synced: 4 months ago
JSON representation
An asynchronous tools library in the style of higher-order functions.
- Host: GitHub
- URL: https://github.com/bowencool/async-utilities
- Owner: bowencool
- License: mit
- Created: 2021-05-21T06:32:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T08:54:28.000Z (10 months ago)
- Last Synced: 2025-06-05T10:21:05.514Z (4 months ago)
- Topics: abort, abortable, async, asynchronous, cancel, cancelable, concurrent, concurrent-queue, concurrently, debounce, promise, retry, throttle, timeout, typescript, utilities, utils
- Language: TypeScript
- Homepage: https://bowencool.github.io/async-utilities/
- Size: 2.43 MB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Async Utilities
一个异步工具库,风格以高阶函数为主。
An asynchronous tools library in the style of higher-order functions. [Website](https://bowencool.github.io/async-utilities/)
# Usage
使用 npm:
```bash
npm i @bowencool/async-utilities
``````ts
import { throttleAsyncResult } from '@bowencool/async-utilities';
```在浏览器中:
```html
```
# Todo
- ~~cacheAsync~~ see [memoizee](https://github.com/medikoo/memoizee#memoizing-asynchronous-functions) or [lru-pcache](https://github.com/jmendiara/lru-pcache)
- [ ] abort fetch & xhr## License
MIT