WhenFn<T> typedef

WhenFn<T> = bool Function(T newValue, T oldValue)

Function type for determining when a watcher should trigger.

Implementation

typedef WhenFn<T> = bool Function(T newValue, T oldValue);