NodeWorker.Options.WorkerData property
Any JavaScript value that is cloned and made available as CurrentWorkerData. The cloning occurs as described in the HTML structured clone algorithm, and an error is thrown if the object cannot be cloned (e.g. because it contains functions).
C#
public JSValue? WorkerData { get; set; }See Also
- struct JSValue
- class Options
- namespace Microsoft.JavaScript.NodeApi.Interop