Hello,
I've just started using this great library. Since 12.5. worker.terminate() throws a deprecation Warning, as it returns a Promise now (see nodejs/node#28021).
Correct me if I am wrong, but
|
this.workers[i].worker.terminate(() => { |
should be the only position where this should be changed?
I'll try to submit a PR to change it.
Hello,
I've just started using this great library. Since 12.5.
worker.terminate()throws a deprecation Warning, as it returns a Promise now (see nodejs/node#28021).Correct me if I am wrong, but
microjob/src/worker-pool.ts
Line 221 in bb03168
I'll try to submit a PR to change it.