repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
docs: switch code style badge to neostandard
[poolifier.git]
/
examples
/
javascript
/
multiFunctionExample.cjs
diff --git
a/examples/javascript/multiFunctionExample.cjs
b/examples/javascript/multiFunctionExample.cjs
index 7ab57ab72a5f689b870f210bbc1fc8c9d0a08c70..9f92c132c55b4b8dc7824b49043bc26959f3f9a2 100644
(file)
--- a/
examples/javascript/multiFunctionExample.cjs
+++ b/
examples/javascript/multiFunctionExample.cjs
@@
-5,8
+5,8
@@
const pool = new FixedThreadPool(
availableParallelism(),
'./multiFunctionWorker.cjs',
{
+ onlineHandler: () => console.info('worker is online'),
errorHandler: e => console.error(e),
- onlineHandler: () => console.info('worker is online')
}
)