Want an event when a task is assign to a worker #421
Answered
by
SiDDhartharG
SiDDhartharG
asked this question in
Q&A
-
if i have 3 threads and 10 pending tasks then i want an even of which task is been executed Do we have an event (like abortSignal)?? |
Beta Was this translation helpful? Give feedback.
Answered by
SiDDhartharG
Oct 13, 2023
Replies: 1 comment
Answer selected by
SiDDhartharG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/piscinajs/piscina/blob/832006494122bffc375db47ca023a110387f5cc1/examples/progress/index.js
worked. 👍