File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ class AsyncQueue {
98
98
this . _workerCount ++ ;
99
99
100
100
// Fire up worker process
101
- setImmediate ( ( ) => {
101
+ setTimeout ( ( ) => {
102
102
this . _worker ( workerData )
103
103
. then ( this . _workerFinished )
104
104
. catch ( this . _workerFailed ) ;
105
- } ) ;
105
+ } , 1 ) ;
106
106
}
107
107
108
108
_workerFinished ( response ) {
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " irrelon- async-queue" ,
3
- "version" : " 1 .0.3 " ,
2
+ "name" : " @ irrelon/ async-queue" ,
3
+ "version" : " 2 .0.1 " ,
4
4
"description" : " A simple async queue processor." ,
5
5
"main" : " AsyncQueue.js" ,
6
6
"scripts" : {
15
15
"bugs" : {
16
16
"url" : " https://github.com/Irrelon/irrelon-async-queue/issues"
17
17
},
18
- "homepage" : " https://github.com/Irrelon/irrelon-async-queue"
18
+ "homepage" : " https://github.com/Irrelon/irrelon-async-queue" ,
19
+ "private" : false
19
20
}
You can’t perform that action at this time.
0 commit comments