robs
only.Expand description
Observable hash set.
This provides a locally and remotely observable hash set. The observable hash set sends a change event each time a change is performed on it. The resulting event stream can either be processed event-wise or used to build a mirrored hash set.
Changes are sent using a remote broadcast channel, thus subscribers cannot block the observed hash set and are shed when their event buffer exceeds a configurable size.
§Basic use
Create a ObservableHashSet and obtain a subscription to it using ObservableHashSet::subscribe. Send this subscription to a remote endpoint via a remote channel and call HashSetSubscription::mirror on the remote endpoint to obtain a live mirror of the observed hash set or process each change event individually using HashSetSubscription::recv.
Structs§
- Observable hash set subscription.
- A hash set that is mirroring an observable hash set.
- A snapshot view of an observable hash set.
- A hash set that emits an event for each change.
Enums§
- A hash set change event.