Header menu logo FSharp.Data.Adaptive

AdadptiveObjectExtensions Module

Types

Type Description

AfterEvaluateCallbacks

Type extensions

Type extension Description

this.EvaluateAlways

Full Usage: this.EvaluateAlways

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

Utility function for evaluating an object even if it is not marked as outOfDate. This method takes care of appropriate locking

Extended Type: AdaptiveObject

token : AdaptiveToken
f : AdaptiveToken -> 'T
Returns: 'T

this.EvaluateIfNeeded

Full Usage: this.EvaluateIfNeeded

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

Utility function for evaluating an object if it is marked as outOfDate. If the object is actually outOfDate the given function is executed and otherwise The given default value is returned. This method takes care of appropriate locking

Extended Type: AdaptiveObject

token : AdaptiveToken
otherwise : 'T
f : AdaptiveToken -> 'T
Returns: 'T

AdaptiveObject.RunAfterEvaluate(action)

Full Usage: AdaptiveObject.RunAfterEvaluate(action)

Parameters:
    action : unit -> unit

Modifiers: inline

Executes the given action after the (currently running) evaluation has finished (once).

Extended Type: AdaptiveObject

action : unit -> unit

Type something to start searching.