@adaptic/utils 0.0.359 → 0.0.361

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.
package/dist/index.mjs CHANGED
@@ -4208,6 +4208,12 @@ class Queue {
4208
4208
  current = current.next;
4209
4209
  }
4210
4210
  }
4211
+
4212
+ * drain() {
4213
+ while (this.#head) {
4214
+ yield this.dequeue();
4215
+ }
4216
+ }
4211
4217
  }
4212
4218
 
4213
4219
  function pLimit(concurrency) {