UNPKG
better-queue
Version:
latest (3.8.12)
3.8.12
3.8.11
3.8.10
3.8.8
3.8.7
3.8.6
3.8.5
3.8.4
3.8.3
3.8.2
3.7.21
3.7.20
3.7.19
3.7.18
3.7.17
3.7.16
3.7.15
3.7.14
3.7.13
3.7.12
3.7.11
3.7.9
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.2
3.6.1
3.6.0
3.5.2
3.5.1
3.5.0
3.4.3
3.4.2
3.4.1
3.4.0
3.3.0
3.2.6
3.2.5
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.1
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
1.0.1
1.0.0
Better Queue for NodeJS
github.com/diamondio/better-queue
diamondio/better-queue
better-queue
/
test
/
lib
/
helper.js
10 lines
(8 loc)
•
180 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
exports
.
destroyQueues
=
function
(
) { [
this
.
q
,
this
.
q1
,
this
.
q2
].
forEach
(
function
(
q
) {
if
(!q)
return
;
setTimeout
(
function
(
) { q.
destroy
(); },
15
); }); };