An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Async Utilities


Actions Status
Coverage Status
npm version
npm downloads

gzip size
GitHub
vitepress

一个异步工具库,风格以高阶函数为主。

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