repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge pull request #164 from pioardi/benchmark
[poolifier.git]
/
src
/
worker
/
worker-options.ts
1
/**
2
* Options for workers.
3
*/
4
export interface
WorkerOptions
{
5
/**
6
* Maximum waiting time in milliseconds for tasks.
7
*
8
* After this time, newly created workers will be terminated.
9
*
10
* @default 60.000 ms
11
*/
12
maxInactiveTime
?:
number
13
/**
14
* Whether your worker will perform asynchronous or not.
15
*
16
* @default false
17
*/
18
async
?:
boolean
19
}