Endorphin.Instrument.PicoTech


Async

Namespace: Endorphin.Instrument.PicoTech.PicoScope5000

Nested types and modules

TypeDescription
ContinuationGuard

Semaphore to ensure only one continuation path is followed in a raw "from continuations" computational expression

DeferredContinuation<'T>

Functions and values

Function or valueDescription
registerCompensation (...)
Signature: guard:ContinuationGuard -> ct:CancellationToken -> ccont:(OperationCanceledException -> unit) -> compensation:OperationCanceledException option -> Async<CancellationTokenRegistration>

registers a compensation function, with a guard, which will evaluated before cancellation continuation if cancellation is requested in the current context

F# Project
Fork me on GitHub