@travetto/worker
Advanced tools
Comparing version 3.3.4 to 3.4.0-rc.0
{ | ||
"name": "@travetto/worker", | ||
"version": "3.3.4", | ||
"version": "3.4.0-rc.0", | ||
"description": "Process management utilities, with a focus on inter-process communication", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/base": "^3.3.4", | ||
"@travetto/base": "^3.4.0-rc.0", | ||
"generic-pool": "^3.9.0" | ||
@@ -31,0 +31,0 @@ }, |
@@ -16,5 +16,6 @@ import { Util } from '@travetto/base'; | ||
*/ | ||
constructor(initial: Iterable<X> = []) { | ||
constructor(initial: Iterable<X> = [], signal?: AbortSignal) { | ||
this.#queue.push(...initial); | ||
this.#size = this.#queue.length; | ||
signal?.addEventListener('abort', () => this.close()); | ||
} | ||
@@ -21,0 +22,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27360
610
1
Updated@travetto/base@^3.4.0-rc.0