DEP0132:worker.terminate() 具有回调


\DEP0132: worker.terminate() with callback

版本历史
版本变更
v12.5.0

运行时弃用。

类型:运行时

\Type: Runtime

将回调传递给 worker.terminate() 已弃用。请改用返回的 Promise,或监听工作进程的 'exit' 事件。

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

AltStyle によって変換されたページ (->オリジナル) /