Header menu logo FSharp.Data.Adaptive

AdaptiveSynchronizationContext Type

A SynchronizationContext properly handling FSharp.Data.Adaptive's internal ThreadLocals in presense of WPF/WinForms-style lock-interception (code being executed on the main thread while locks contend). Due to our use of thread-locals/statics this interception breaks some of the system's internal state and AdaptiveSynchronizationContext.Install() can be used to prevent this.

Constructors

Constructor Description

AdaptiveSynchronizationContext(captured)

Full Usage: AdaptiveSynchronizationContext(captured)

Parameters:
Returns: AdaptiveSynchronizationContext
captured : SynchronizationContext
Returns: AdaptiveSynchronizationContext

Static members

Static member Description

AdaptiveSynchronizationContext.Install()

Full Usage: AdaptiveSynchronizationContext.Install()

Installs the AdaptiveSynchronizationContext globally.

Type something to start searching.