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