ComputedAirState extension

Extension to Air for computed state support

on

Methods

computed<T>(ComputedState<T> spec) → T

Available on Air, provided by the ComputedAirState extension

Evaluate a computed state with current values
isComputed(String key) → bool

Available on Air, provided by the ComputedAirState extension

Check if a key is a computed state
registerComputed<T>(String targetKey, ComputedState<T> computed) → void

Available on Air, provided by the ComputedAirState extension

Register a reactive computed state
unregisterComputed(String targetKey) → void

Available on Air, provided by the ComputedAirState extension

Unregister a reactive computed state