Module observable_value

Source
Expand description

An implementation of the Observer pattern.

Structsยง

ObservableValue
A value that implements the Observer pattern.
ReadHalf
The read half of an ObservableValue, which can only listen for updates and read the current value.
SubscriptionId
The identifier for a subscription, used to disconnect it when no longer required.
WriteHalf
The write half of an ObservableValue, which can write new values.