How to check if a function is running in worker thread in node?

前端 未结 0 582
小蘑菇
小蘑菇 2021-01-25 09:30

I am trying to use worker_threads in node to run some expensive calculation without blocking the main thread.

Is it possible to check if the function is actu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题