repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: fix wrong async/await usage in describe()
[poolifier.git]
/
examples
/
typescript
/
worker.ts
diff --git
a/examples/typescript/worker.ts
b/examples/typescript/worker.ts
index adc8c4345ca1ead79eec6d31507e7fc07e53f7af..81d39df3c9eb5c34019dfeeca6e2ab495f6fc982 100644
(file)
--- a/
examples/typescript/worker.ts
+++ b/
examples/typescript/worker.ts
@@
-13,8
+13,7
@@
class MyThreadWorker extends ThreadWorker<MyData, Promise<MyResponse>> {
constructor () {
// eslint-disable-next-line @typescript-eslint/promise-function-async
super((data: MyData) => this.process(data), {
- maxInactiveTime: 60000,
- async: true
+ maxInactiveTime: 60000
})
}