repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier
[poolifier.git]
/
examples
/
javascript
/
multiFunctionWorker.cjs
diff --git
a/examples/javascript/multiFunctionWorker.cjs
b/examples/javascript/multiFunctionWorker.cjs
index d49962d621db95e015d72a7472a6b87c9b2ea159..c0392eef410d6dfc6552fcd6cafd2d8eb839bf35 100644
(file)
--- a/
examples/javascript/multiFunctionWorker.cjs
+++ b/
examples/javascript/multiFunctionWorker.cjs
@@
-4,6
+4,7
@@
const { ThreadWorker } = require('poolifier')
/**
*
* @param data
/**
*
* @param data
+ * @returns
*/
function fn0 (data) {
console.info('Executing fn0')
*/
function fn0 (data) {
console.info('Executing fn0')
@@
-13,6
+14,7
@@
function fn0 (data) {
/**
*
* @param data
/**
*
* @param data
+ * @returns
*/
function fn1 (data) {
console.info('Executing fn1')
*/
function fn1 (data) {
console.info('Executing fn1')