repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: close communication channel on error
[poolifier.git]
/
examples
/
yourWorker.js
diff --git
a/examples/yourWorker.js
b/examples/yourWorker.js
index 7de9485ceb1a228075011e615fb802d7660185b4..b2df8d19093527e0ca67a24f9f84589ab1207050 100644
(file)
--- a/
examples/yourWorker.js
+++ b/
examples/yourWorker.js
@@
-11,7
+11,7
@@
function yourFunction () {
}
JSON.stringify(o)
}
- debug === true && console.
log
('This is the main thread ' + isMainThread)
+ debug === true && console.
info
('This is the main thread ' + isMainThread)
return { ok: 1 }
}