batch-cluster
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -212,7 +212,7 @@ /// <reference types="node" /> | ||
private readonly exitListener; | ||
private endPromise(); | ||
private retryTask(task, error); | ||
private onStartError(error); | ||
private procs(); | ||
private onIdle(); | ||
private endPromise; | ||
private retryTask; | ||
private onStartError; | ||
private procs; | ||
private onIdle; | ||
} |
@@ -62,9 +62,9 @@ /// <reference types="node" /> | ||
end(gracefully?: boolean): Promise<void>; | ||
private awaitNotRunning(timeout); | ||
private onTimeout(task, timeoutMs); | ||
private onError(source, error, retryTask?, task?); | ||
private onExit(); | ||
private onData(data); | ||
private clearCurrentTask(); | ||
private resolveCurrentTask(result); | ||
private awaitNotRunning; | ||
private onTimeout; | ||
private onError; | ||
private onExit; | ||
private onData; | ||
private clearCurrentTask; | ||
private resolveCurrentTask; | ||
} | ||
@@ -71,0 +71,0 @@ /** |
@@ -175,4 +175,4 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var cmd; | ||
var _this = this; | ||
var cmd; | ||
return __generator(this, function (_a) { | ||
@@ -363,3 +363,3 @@ switch (_a.label) { | ||
if (isWin) { | ||
var args = ["/pid", pid.toString(), "/T"]; | ||
var args = ["/PID", pid.toString(), "/T"]; | ||
if (force) { | ||
@@ -366,0 +366,0 @@ args.push("/F"); |
@@ -14,3 +14,3 @@ export declare class Rate { | ||
clear(): this; | ||
private vacuum(); | ||
private vacuum; | ||
} |
{ | ||
"name": "batch-cluster", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Manage a cluster of child processes", | ||
@@ -34,4 +34,4 @@ "main": "dist/BatchCluster.js", | ||
"@types/chai-string": "^1.4.1", | ||
"@types/mocha": "^5.2.0", | ||
"@types/node": "^10.0.0", | ||
"@types/mocha": "^5.2.2", | ||
"@types/node": "^10.3.2", | ||
"chai": "^4.1.2", | ||
@@ -41,13 +41,13 @@ "chai-as-promised": "^7.1.1", | ||
"chai-withintoleranceof": "^1.0.1", | ||
"mocha": "^5.1.1", | ||
"prettier": "^1.12.1", | ||
"mocha": "^5.2.0", | ||
"prettier": "^1.13.5", | ||
"rimraf": "^2.6.2", | ||
"seedrandom": "^2.4.3", | ||
"serve": "^6.5.6", | ||
"source-map-support": "^0.5.5", | ||
"timekeeper": "^2.1.1", | ||
"serve": "^8.2.0", | ||
"source-map-support": "^0.5.6", | ||
"timekeeper": "^2.1.2", | ||
"typedoc": "^0.11.1", | ||
"typescript": "^2.8.3", | ||
"wtfnode": "^0.6.0" | ||
"typescript": "^2.9.1", | ||
"wtfnode": "^0.7.0" | ||
} | ||
} |
@@ -89,2 +89,8 @@ # batch-cluster | ||
### v2.1.2 | ||
* 🐞 Windows taskkill `/PID` option seemed to work downcased, but the docs say | ||
to use uppercase, so I've updated it. | ||
* 📦 Upgrade all deps including TypeScript to 2.9 | ||
### v2.1.1 | ||
@@ -91,0 +97,0 @@ |
Sorry, the diff of this file is not supported yet
141293
23
247