Async.StartChildAsTask<'T> Method (F#)
Creates an asynchronous computation which starts the given computation as a Task.
Namespace/Module Path: Microsoft.FSharp.Control
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
static member StartChildAsTask : Async<'T> * ?TaskCreationOptions -> Async<Task<'T>>
// Usage:
Async.StartChildAsTask (computation)
Async.StartChildAsTask (computation, taskCreationOptions = taskCreationOptions)
Parameters
computation
Type: Async<'T>The computation to execute.
taskCreationOptions
Type: TaskCreationOptionsOptional task creation options.
Return Value
The task wrapped as an asynchronous computation.
Platforms
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Version Information
F# Runtime
Supported in: 4.0
Silverlight
Not supported