MBrace.Core


Utils

Namespace: MBrace.Core.Internals

Nested types and modules

TypeDescription
IAsyncDisposable

Resource that can be disposed of asynchronouslys

ValueOrException<'T>

A struct that can either contain a type or an exception.

ModuleDescription
Array
Seq
ValueOrException

Functions and values

Function or valueDescription
mkUUID ()
Signature: unit -> string

creates new string identifier

Type extensions

Type extensionDescription
TryFinally(body, finallyF)
Signature: (body:Async<'T> * finallyF:Async<unit>) -> Async<'T>
Type parameters: 'T

TryFinally with asynchronous 'finally' body.

CompiledName: Async.TryFinally.Static

TryWithTimeout(timeoutMilliseconds)
Signature: timeoutMilliseconds:int -> Task<'TResult option>

Create a new task that times out after a given amount of milliseconds.

CompiledName: Task`1.TryWithTimeout

Using(value, bindF)
Signature: (value:'T * bindF:('T -> Async<'U>)) -> Async<'U>
Type parameters: 'T, 'U

CompiledName: AsyncBuilder.Using

WithTimeout(timeoutMilliseconds)
Signature: timeoutMilliseconds:int -> Task<'TResult>

Create a new task that times out after a given amount of milliseconds.

CompiledName: Task`1.WithTimeout

Fork me on GitHub