Header menu logo FSharp.Core

HighPriority Module

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

Type extensions

Type extension Description

this.Bind

Full Usage: this.Bind

Parameters:
    task : Task<'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 a task then calls a continuation.

Extended Type: TaskBuilderBase

task : Task<'TResult1>
continuation : 'TResult1 -> TaskCode<'TOverall, 'TResult2>
Returns: TaskCode<'TOverall, 'TResult2>

TaskBuilderBase.BindDynamic(sm, task, continuation)

Full Usage: TaskBuilderBase.BindDynamic(sm, task, continuation)

Parameters:
Returns: bool

The entry point for the dynamic implementation of the corresponding operation. Do not use directly, only used when executing quotations that involve tasks or other reflective execution of F# code.

Extended Type: TaskBuilderBase

sm : byref<TaskStateMachine<'TOverall>>
task : Task<'TResult1>
continuation : 'TResult1 -> TaskCode<'TOverall, 'TResult2>
Returns: bool

this.ReturnFrom

Full Usage: this.ReturnFrom

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

Specifies a unit of task code which draws a result from a task.

Extended Type: TaskBuilderBase

task : Task<'T>
Returns: TaskCode<'T, 'T>

Type something to start searching.