请问 chalk 怎么作为 Worker Threads 的参数?
資深大佬 : hgjian 3
chalk Not working with Worker Threads
https://github.com/chalk/chalk/issues/327
https://github.com/chalk/chalk/issues/327
Alternatively, pass chalk.level as part of the worker data passed to the worker thread and restore it on chalk in the worker thread.
请问一下,这里有没有人知道 上面这句话怎么实现呢?
没看懂怎么 restore 。
大佬有話說 (0)