Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an asynchronous computation that waits for the given task to complete and returns its result.
Namespace/Module Path: Microsoft.FSharp.Control
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
static member AwaitTask : Task<'T> -> Async<'T>
// Usage:
Async.AwaitTask (task)
Parameters
task
Type: TaskThe task to wait for.
Return Value
An asynchronous computation object.
Platforms
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Version Information
F# Core Library Versions
Supported in: 4.0, Portable