DEP0132: 使用回调的 worker.terminate()
类型: 运行时
将回调传给 worker.terminate() 已弃用。
使用返回的 Promise 代替,或者监听工作进程的 'exit' 事件。
Type: Runtime
Passing a callback to worker.terminate() is deprecated. Use the returned
Promise instead, or a listener to the worker's 'exit' event.