Header menu logo FSharp.Data.Adaptive

AdaptiveToken Type

AdaptiveToken represents a token that can be passed to inner AdaptiveObjects for evaluation. when passing an AdaptiveToken to the evaluation-function of a cell the system will create a dependency edge internally and future marking of the inner cell will also cause the calling cell to be marked.

Record fields

Record Field Description

caller

Full Usage: caller

Field type: IAdaptiveObject
Modifiers: mutable

Represents the calling IAdaptiveObject or null if none. Note, this is only mutable because that exposes the underlying field for (reportedly) more performant access.

Field type: IAdaptiveObject

Instance members

Instance member Description

this.Caller

Full Usage: this.Caller

Returns: IAdaptiveObject option

The (optional) caller for the AdaptiveToken.

Returns: IAdaptiveObject option

this.WithCaller

Full Usage: this.WithCaller

Parameters:
Returns: AdaptiveToken

Creates a new AdaptiveToken with the given caller.

c : IAdaptiveObject
Returns: AdaptiveToken

this.WithCancellationToken

Full Usage: this.WithCancellationToken

Parameters:
Returns: AdaptiveToken

Creates a new AdaptiveToken with the given CancellationToken.

ct : CancellationToken
Returns: AdaptiveToken

Static members

Static member Description

AdaptiveToken.Cancelable(ct)

Full Usage: AdaptiveToken.Cancelable(ct)

Parameters:
Returns: AdaptiveToken

Creates a top-level AdaptiveToken with the given CancellationToken.

ct : CancellationToken
Returns: AdaptiveToken

AdaptiveToken.Top

Full Usage: AdaptiveToken.Top

Returns: AdaptiveToken

The top-level AdaptiveToken without a calling IAdaptiveObject.

Returns: AdaptiveToken

Type something to start searching.