Header menu logo IcedTasks

TaskUnitBuilder Type

Contains methods to build Tasks using the F# computation expression syntax

Constructors

Constructor Description

TaskUnitBuilder()

Full Usage: TaskUnitBuilder()

Returns: TaskUnitBuilder
Returns: TaskUnitBuilder

Instance members

Instance member Description

this.MergeSources

Full Usage: this.MergeSources

Parameters:
    left : ^a
    right : ^c

Returns: TaskAwaiter
Modifiers: inline
Type parameters: ^a, 'b, ^c, 'd
left : ^a
right : ^c
Returns: TaskAwaiter

this.Run

Full Usage: this.Run

Parameters:
Returns: Task
Modifiers: inline
Type parameters: 'T

Hosts the task code in a state machine and starts the task.

code : TaskBaseCode<'T, 'T, AsyncTaskMethodBuilder>
Returns: Task

this.Source

Full Usage: this.Source

Parameters:
Returns: TaskAwaiter
Modifiers: inline

Specify a Source of Task on the real type to allow type inference to work

v : Task
Returns: TaskAwaiter

Static members

Static member Description

TaskUnitBuilder.RunDynamic(code)

Full Usage: TaskUnitBuilder.RunDynamic(code)

Parameters:
Returns: Task
Modifiers: inline
Type parameters: 'T

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.

code : TaskBaseCode<'T, 'T, AsyncTaskMethodBuilder>
Returns: Task

Type something to start searching.