Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

GuardedAwaitObservable

Functions and values

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

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.