Table of contents
Collapse the table of content
Expand the table of content

Async.StartChildAsTask<'T> Method (F#)

Den Delimarsky|Last Updated: 8/18/2017
1 Contributor

Creates an asynchronous computation which starts the given computation as a System.Threading.Tasks.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)


computation Type: Async<'T>

The computation to execute.

taskCreationOptions Type: System.Threading.Tasks.TaskCreationOptions

Optional task creation options.

Return Value

Returns the task wrapped as an asynchronous computation.


Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Control.Async Class (F#)

Microsoft.FSharp.Control Namespace (F#)

© 2020 Microsoft