Readonly
$version
A version representation of the value. If two versions of a val is not equal(Object.is
),
it means the value
has changed (event if the value
is equal).
Readonly
brand
Get current value of the val.
Readonly
value
Current value of the val.
Subscribe to value changes without immediate emission.
a disposer function that cancels the subscription
Subscribe to value changes with immediate emission.
a disposer function that cancels the subscription
A ReadonlyVal contains a readonly
value
and does not have aset
method.