DEP0132: 使用回调的 worker.terminate()


类型: 运行时

Type: Runtime

Passing a callback to worker.terminate() is deprecated. Use the returned Promise instead, or a listener to the worker's 'exit' event.