NodeWorker.Terminate method
Stops 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.
C#
public Task<int?> Terminate()
See Also
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop