@zukhruf/async 0.6.12 → 0.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -112,7 +112,7 @@ poll(() => queue.take(), {
112
112
  }).then(run);
113
113
  ```
114
114
 
115
- - With `ref: false`, `poll` calls `unref()` on the timer that `clock.setTimeout` gives.
115
+ - With `ref: false`, `poll` calls `unref()` on the timer that `clock.setTimeout` gives, when the timer has one. The timers of Node.js and of `createClock()` have it.
116
116
  - Without `ref`, Node.js keeps its default: the wait keeps the process alive.
117
117
  - `ref` changes only the wait between two attempts. An attempt that runs can keep the process alive.
118
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zukhruf/async",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "Helpers for code that waits for promises: cancel a wait when an AbortSignal aborts, hold callers on a one-shot latch that never rejects, and poll an attempt until it gives a value.",
5
5
  "license": "MIT",
6
6
  "repository": {