MBrace.Core


AsyncExtensions

Namespace: MBrace.Core.Internals

Nested types and modules

TypeDescription
Async

Type extensions

Type extensionDescription
CorrectResult
Signature: 'TResult

Gets the result of given task so that in the event of exception the actual user exception is raised as opposed to being wrapped in a System.AggregateException

CompiledName: Task`1.get_CorrectResult

CorrectResult
Signature: 'TResult

Gets the result of given task so that in the event of exception the actual user exception is raised as opposed to being wrapped in a System.AggregateException

CompiledName: Task`1.get_CorrectResult

InnerException
Signature: exn

Gets the inner exception of the faulted task.

CompiledName: Task.get_InnerException

InnerException
Signature: exn

Gets the inner exception of the faulted task.

CompiledName: Task.get_InnerException

TryGetResult()
Signature: unit -> 'TResult option

Returns Some result if completed, None if pending, exception if faulted.

CompiledName: Task`1.TryGetResult

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

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