NodeWorker.ThreadId property
An integer identifier for the referenced thread. Inside the worker thread, it is available as CurrentThreadId
. This value is unique for each Worker instance inside a single process.
C#
public int ThreadId { get; }
See Also
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop