API Reference

IExpression

Core runtime representation of a bound expression. Read current value from value and listen for updates through changed.

Description

value contains the current computed result.

changed emits when tracked dependencies change and the expression re-evaluates.

Parameters

Tgeneric type parameter

Current expression value type.

PTgeneric type parameter

Parent expression value type.

Return type

Type contract only. Runtime bindings return an IExpression<T> instance.

Usage notes

Use parent, childExpressions, type, and isRoot to inspect expression structure.

type uses ExpressionType.

changeHook uses ChangeHook.

Lifecycle

IExpression is disposable. Call dispose() when you no longer need it.