task-serializer
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -29,3 +29,4 @@ //--IF{{RELEASE}} | ||
let rejnr=ts.getCountRejectedNotRead(); | ||
console.log(`resnr:${resnr},rejnr:${rejnr}`); | ||
let finnr=ts.getCountFinishedNotRead(); | ||
console.log(`resnr:${resnr},rejnr:${rejnr},finnr:${finnr}`); | ||
} | ||
@@ -32,0 +33,0 @@ } |
{ | ||
"name": "task-serializer", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Serialize tasks/promises for integrated control. Option for limiting number of concurrent tasks.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,2 +25,3 @@ 'use strict'; | ||
}).bind(this)); | ||
this._asyncIterable=this._createAsyncIterable(); | ||
//this._lnk_reset_nextpr=this._reset_nextpr.bind(this); | ||
@@ -38,3 +39,4 @@ } | ||
} | ||
[Symbol.asyncIterator](){ | ||
//getIterable(){return this[Symbol.asyncIterator]();} | ||
_createAsyncIterable(){ | ||
let that=this; | ||
@@ -62,2 +64,4 @@ return { | ||
} | ||
[Symbol.asyncIterator](){return this._asyncIterable; } | ||
next(){return this._asyncIterable.next();} | ||
// informationals | ||
@@ -64,0 +68,0 @@ getCountWaiting(){return this._sts.getWaitingCount();} |
Sorry, the diff of this file is not supported yet
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
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
59041
35
1266