NodeWorker.CurrentWorkerData property
An arbitrary JavaScript value that contains a clone of the data passed to this thread's Worker constructor.
C#
public static JSValue CurrentWorkerData { get; }
Exceptions
exception | condition |
---|---|
JSInvalidThreadAccessException | No JS scope was established for the current thread. |
See Also
- struct JSValue
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop