Nodeworker_threadsWorker.prototype.terminatemethod Worker.prototype.terminate#Worker.prototype.terminate(): Promise<number>Stop all JavaScript execution in the worker thread as soon as possible. Returns a Promise for the exit code that is fulfilled when the 'exit' event is emitted. Return Type #Promise<number>
method Worker.prototype.terminate#Worker.prototype.terminate(): Promise<number>Stop all JavaScript execution in the worker thread as soon as possible. Returns a Promise for the exit code that is fulfilled when the 'exit' event is emitted. Return Type #Promise<number>