GuardedAwaitObservable

Functions and values

Function or valueDescription
synchronize(f)
Signature: f:(((unit -> unit) -> unit) -> '?9591) -> '?9591
Type parameters: '?9591

Helper that can be used for writing CPS-style code that resumes on the same thread where the operation was started.

Type extensions

Type extensionDescription
Async.GuardedAwaitObservable(...)
Signature: ev1:IObservable<'T1> -> (guardFunction:(unit -> unit)) -> Async<'T1>
Type parameters: 'T1

Behaves like AwaitObservable, but calls the specified guarding function after a subscriber is registered with the observable.