repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(examples): fix TS configuration for 5.2.x
[poolifier.git]
/
tests
/
worker-files
/
thread
/
asyncWorker.js
diff --git
a/tests/worker-files/thread/asyncWorker.js
b/tests/worker-files/thread/asyncWorker.js
index 5e3ec257f6b594b1d2cf49cccd09e36d8d2bb61a..2b834b87fd33d9002bd664707159581824f90301 100644
(file)
--- a/
tests/worker-files/thread/asyncWorker.js
+++ b/
tests/worker-files/thread/asyncWorker.js
@@
-1,9
+1,9
@@
'use strict'
const { ThreadWorker, KillBehaviors } = require('../../../lib')
'use strict'
const { ThreadWorker, KillBehaviors } = require('../../../lib')
-const { sleep
Worker
Function } = require('../../test-utils')
+const { sleep
Task
Function } = require('../../test-utils')
async function sleep (data) {
async function sleep (data) {
- return sleep
Worker
Function(data, 2000)
+ return sleep
Task
Function(data, 2000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {