repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add protected removeWorker member function (#124)
[poolifier.git]
/
src
/
worker
/
worker-options.ts
1
export interface
WorkerOptions
{
2
/**
3
* Max time to wait tasks to work on (in ms), after this period the new worker threads will die.
4
*
5
* @default 60.000 ms
6
*/
7
maxInactiveTime
?:
number
8
/**
9
* `true` if your function contains async pieces, else `false`.
10
*
11
* @default false
12
*/
13
async
?:
boolean
14
}