josdejong/workerpool

How can a worker listen to master's specific event?

pilaoda opened this issue · 1 comments

I notice that master can exec specfic function in worker and worker can emit event during executing, but there is no anti way to receive event from master during executing in the readme.

How can a worker subscribe to the master's event during executing? And how can the master emit this event to the exact worker?

There is no build-in solution for that right now, but this feature is discussed in #185. Let's continue the discussion there.