AsyncExtensions
Namespace: MBrace.Core.Internals
Nested types and modules
Type | Description |
Async |
Type extensions
Type extension | Description |
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: |
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: |
InnerException
Signature: exn
|
Gets the inner exception of the faulted task. CompiledName: |
InnerException
Signature: exn
|
Gets the inner exception of the faulted task. CompiledName: |
TryGetResult()
Signature: unit -> 'TResult option
|
Returns Some result if completed, None if pending, exception if faulted. CompiledName: |
TryWithTimeout(timeoutMilliseconds)
Signature: timeoutMilliseconds:int -> Task<'TResult option>
|
Create a new task that times out after a given amount of milliseconds. CompiledName: |
WithTimeout(timeoutMilliseconds)
Signature: timeoutMilliseconds:int -> Task<'TResult>
|
Create a new task that times out after a given amount of milliseconds. CompiledName: |