Skip to content

Commit fb5c731

Browse files
committed
更新 README.md,添加关于任务添加后队列立即启动的说明
1 parent a75a2ca commit fb5c731

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
A library to limit the number of concurrent asynchronous tasks.
99

10+
The queue will start immediately when the task is added to the queue.
11+
1012
## Installation
1113

1214
```bash
@@ -24,7 +26,6 @@ const { AsyncQueue } = require("@axetroy/async-queue");
2426
```
2527

2628
```js
27-
// import via esm
2829
import { AsyncQueue } from "@axetroy/async-queue";
2930

3031
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

0 commit comments

Comments
 (0)