X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fjavascript%2FmultiFunctionWorker.cjs;h=c0392eef410d6dfc6552fcd6cafd2d8eb839bf35;hb=7169bda30538a5244b2598a4ef466c5687953ebd;hp=d49962d621db95e015d72a7472a6b87c9b2ea159;hpb=3a5027122ca6401ae1d755843b20f714c61e3240;p=poolifier.git diff --git a/examples/javascript/multiFunctionWorker.cjs b/examples/javascript/multiFunctionWorker.cjs index d49962d6..c0392eef 100644 --- a/examples/javascript/multiFunctionWorker.cjs +++ b/examples/javascript/multiFunctionWorker.cjs @@ -4,6 +4,7 @@ const { ThreadWorker } = require('poolifier') /** * * @param data + * @returns */ function fn0 (data) { console.info('Executing fn0') @@ -13,6 +14,7 @@ function fn0 (data) { /** * * @param data + * @returns */ function fn1 (data) { console.info('Executing fn1')