Skip to content

JSReference.SynchronizationContext property

Gets the synchronization context that must be used to access the referenced value.

C#
public JSSynchronizationContext? SynchronizationContext { get; }

Remarks

Use the Run method to wrap code that accesses the referenced value, if there is a possibility that the current execution context is not already on the correct thread.

See Also

Released under the MIT license