MBrace.Runtime


CacheAtom<'T>

Namespace: MBrace.Runtime.Utils

thread safe cache with expiry semantics

Instance members

Instance memberDescription
Force()
Signature: unit -> 'T
ForceAsync()
Signature: unit -> Async<'T>

Forces update of a new value

GetValueAsync()
Signature: unit -> Async<'T>

Asynchronously returns the latest cached value

TryGetLastSuccessfulValue()
Signature: unit -> 'T option
TryGetLastSuccessfulValueAsync()
Signature: unit -> Async<'T option>

Asynchronously returns the latest successful value

TryGetValue()
Signature: unit -> 'T option
TryGetValueAsync()
Signature: unit -> Async<'T option>

Asynchronously returns the latest cached value

Value
Signature: 'T

CompiledName: get_Value

Fork me on GitHub