Skip to content

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

Released under the MIT license