repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix lint-staged configuration, take 2
[poolifier.git]
/
README.md
diff --git
a/README.md
b/README.md
index 2db54d26d4742ea0e687fad888e3972ccd49f8c7..f0f8fc0466d4fe6ee04a672cd16c1f0f16bcc231 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-99,7
+99,7
@@
You can implement a worker-threads worker in a simple way by extending the class
'use strict'
const { ThreadWorker } = require('poolifier')
-function yourFunction(data) {
+function yourFunction
(data) {
// this will be executed in the worker thread,
// the data will be received by using the execute method
return { ok: 1 }