repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: sync task function names in pool
[poolifier.git]
/
src
/
worker
/
thread-worker.ts
diff --git
a/src/worker/thread-worker.ts
b/src/worker/thread-worker.ts
index e208eb4063656dccf1ed25a8c12463c6de1302e5..69940f960600afe815cbe540d33f5547e242ed19 100644
(file)
--- a/
src/worker/thread-worker.ts
+++ b/
src/worker/thread-worker.ts
@@
-59,6
+59,7
@@
export class ThreadWorker<
) {
this.port = message.port
this.port.on('message', this.messageListener.bind(this))
+ this.sendTaskFunctionsListToMainWorker()
this.sendToMainWorker({ ready: true, workerId: this.id })
}
}