AsyncExtensions Module
For F# 3.0, you can open this module to get extensions for Async<'a>: - Support for bind on Task<'a> in async{} - Async.WithTimeout : TimeSpan * Async<'a> -> _ - Async.AsyncRaise : exn -> _ - Async.AwaitTask : Task -> _ For F# 4.0 these things are mostly implemented, so you can choose not to open this module.
Type extensions
| Type extension | Description |
|
|
|
|
|
Extended Type:
|
|
|
Extended Type:
|
|
Full Usage:
Task.ToIAsyncResult(task, callback, state)
Parameters:
Task<'T>
callback : AsyncCallback
state : obj
Returns: IAsyncResult
|
|
|