File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ import assert from 'nanoassert'
13
13
*
14
14
* When using Delayer your code should contain frequent calls to `await delayer.checkDelay()`, usually
15
15
* at the end of every loop. `checkDelay()` will check the amount of time that ellasped since the last time
16
- * your called it. If the amount of time is below the trigger time it returns an already resolved promise
17
- * and the remaining computation will be able to continue processing in a microtask. If not it will call
18
- * the `delay()` function that will retrigger the operation in a later task of the event loop.
16
+ * it triggered a new task in the event loop. If the amount of time is below the trigger time it returns
17
+ * an already resolved promise and the remaining computation will be able to continue processing in a
18
+ * microtask. If not it will call the `delay()` function that will retrigger the operation in a later task
19
+ * of the event loop.
19
20
*
20
21
* @example
21
22
* import { Delayer } from 'modern-async'
You can’t perform that action at this time.
0 commit comments