AsyncExtensions Module
Extensions for async workflows.
Functions and values
| Function or value |
Description
|
Full Usage:
getCancelledException completedTask waitWithAwaiter
Parameters:
Task
waitWithAwaiter : unit -> unit
Returns: OperationCanceledException
Modifiers: inline |
|
Type extensions
| Type extension |
Description
|
|
|
|
|
|
|
Full Usage:
Async.StartAsTaskProperCancel(computation, ?taskCreationOptions, ?cancellationToken)
Parameters:
Async<'a>
?taskCreationOptions : TaskCreationOptions
?cancellationToken : CancellationToken
Returns: Task<'a>
Type parameters: 'a |
Like StartAsTask but gives the computation time to so some regular cancellation work
Extended Type:
|
Full Usage:
Async.StartCatchCancellation(work, ?cancellationToken)
Parameters:
Async<'a>
?cancellationToken : CancellationToken
Returns: Async<'a>
Type parameters: 'a |
|
|
|
Full Usage:
Async.map f a
Parameters:
'a -> 'b
a : 'a
Returns: Async<'b>
Type parameters: 'a, 'b |
|
|
|
|
Paket