NodeWorker.Error event
Emitted if the worker thread throws an uncaught exception. In that case, the worker is terminated.
C#
public event EventHandler<ErrorEventArgs>? Error;
See Also
- class ErrorEventArgs
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop