Header menu logo IcedTasks

BackgroundCancellableTaskBuilder Type

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

Constructors

Constructor Description

BackgroundCancellableTaskBuilder()

Full Usage: BackgroundCancellableTaskBuilder()

Returns: BackgroundCancellableTaskBuilder
Returns: BackgroundCancellableTaskBuilder

Instance members

Instance member Description

this.Run

Full Usage: this.Run

Parameters:
Returns: CancellableTask<'T>
Modifiers: inline
Type parameters: 'T

Hosts the task code in a state machine and starts the task, executing in the ThreadPool using Task.Run

code : CancellableTaskBaseCode<'T, 'T, AsyncTaskMethodBuilder<'T>>
Returns: CancellableTask<'T>

Static members

Static member Description

BackgroundCancellableTaskBuilder.RunDynamic(code)

Full Usage: BackgroundCancellableTaskBuilder.RunDynamic(code)

Parameters:
Returns: CancellableTask<'T>
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 : CancellableTaskBaseCode<'T, 'T, AsyncTaskMethodBuilder<'T>>
Returns: CancellableTask<'T>

Type something to start searching.