FSharp.Core


MediumPriority Module

Contains medium-priority overloads for the `task` computation expression builder.

Type extensions

Type extension Description

this.Bind

Full Usage: this.Bind

Parameters:
    computation : Async<'TResult1>
    continuation : 'TResult1 -> TaskCode<'TOverall, 'TResult2>

Returns: TaskCode<'TOverall, 'TResult2>
Modifiers: inline
Type parameters: 'TResult1, 'TOverall, 'TResult2

Specifies a unit of task code which draws a result from an F# async value then calls a continuation.

Extended Type: TaskBuilderBase

computation : Async<'TResult1>
continuation : 'TResult1 -> TaskCode<'TOverall, 'TResult2>
Returns: TaskCode<'TOverall, 'TResult2>

this.ReturnFrom

Full Usage: this.ReturnFrom

Parameters:
    computation : Async<'T>

Returns: TaskCode<'T, 'T>
Modifiers: inline
Type parameters: 'T

Specifies a unit of task code which draws a result from an F# async value.

Extended Type: TaskBuilderBase

computation : Async<'T>
Returns: TaskCode<'T, 'T>