FSharpx.Async


AsyncResultCell<'T>

Namespace: FSharpx.Control

A helper type to store a single result from an asynchronous computation and asynchronously access its result.

Constructors

ConstructorDescription
new()
Signature: unit -> AsyncResultCell<'T>

Create a new result cell

CompiledName: .ctor

Instance members

Instance memberDescription
AsyncResult
Signature: Async<'T>

Wait for the result and commit it

CompiledName: get_AsyncResult

RegisterResult(arg1, reuseThread)
Signature: (AsyncResult<'T> * reuseThread:bool option) -> unit

Record the result in the AsyncResultCell. Subsequent sets of the result are ignored.

This may result in the scheduled resumption of a waiting asynchronous operation

Fork me on GitHub