Commit | Line | Data |
---|---|---|
e4bc7a49 JB |
1 | const WorkerFunctions = { |
2 | jsonIntegerSerialization: 'jsonIntegerSerialization', | |
3 | fibonacci: 'fibonacci', | |
cdace0e5 JB |
4 | factorial: 'factorial', |
5 | readWriteFiles: 'readWriteFiles' | |
e4bc7a49 JB |
6 | } |
7 | ||
cdace0e5 | 8 | const PoolTypes = { |
bb615bd0 JB |
9 | fixed: 'fixed', |
10 | dynamic: 'dynamic' | |
cdace0e5 JB |
11 | } |
12 | ||
13 | const WorkerTypes = { | |
bb615bd0 JB |
14 | thread: 'thread', |
15 | cluster: 'cluster' | |
cdace0e5 JB |
16 | } |
17 | ||
18 | module.exports = { PoolTypes, WorkerFunctions, WorkerTypes } |