Logo Mibo

IAdaptiveValue<'T> Type

An adaptive value that automatically tracks dependencies and recomputes when inputs change.

Adaptive values form a dependency graph. When you read a value via GetValue(), the system checks if any dependencies have changed and recomputes if necessary.

Threading: every thread owns its ambient graph, created lazily on first use. A node belongs to the graph of the thread that created it; all reads and writes on that node must run on that thread. Cross-thread changes must be posted to the owner thread (the post machinery), never applied directly. In debug builds a direct operation on another thread's node throws.

Instance members

Instance member Description

this.GetValue

Full Usage: this.GetValue

Returns: 'T The current computed value.
Modifiers: abstract

Gets the current value, recomputing if any dependencies have changed.

Returns: 'T

The current computed value.

Type something to start searching.