node-worker-nodes icon indicating copy to clipboard operation
node-worker-nodes copied to clipboard

Has this package been tested on typescript?

Open khan990 opened this issue 4 years ago • 1 comments

Hi,

Its been few days that I am struggling to use this package on typescript. Here is an online test implementation: https://repl.it/@JasimKhan/worker-nodes-test

Locally, I am trying to debug it using ts-node, but i dont get any break point in the worker tasks... Nor do I see console traces of their execution.

Can some one point me to some typescript usage of this package?

Thanks in advance.

khan990 avatar Jun 22 '20 11:06 khan990

Hi,

When using a debugger, keep in mind that workers have a separate execution contexts. So look at the process/thread you're attached to while debugging. I think that this is the problem, not that the package has any typescript compatibility issues.

kwiatkk1 avatar Jun 26 '20 09:06 kwiatkk1