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 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Version Information
F# Core Library Versions
Supported in: 4.0, Portable