Skip to content

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 ​

exceptioncondition
JSInvalidThreadAccessExceptionNo JS scope was established for the current thread.

See Also ​

Released under the MIT license