DEP0132:带回调的 worker.terminate()
【DEP0132: worker.terminate() with callback】
类型:运行时
【Type: Runtime】
向 worker.terminate() 传递回调已被弃用。请改用返回的 Promise,或使用 worker 的 'exit' 事件监听器。
【Passing a callback to worker.terminate() is deprecated. Use the returned
Promise instead, or a listener to the worker's 'exit' event.】