👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Expand description
Observable append-only list.
This provides a locally and remotely observable append-only list. The observable list 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 list.
§Alternatives
The observable vector provides most operations of a vector, but allocates a separate event buffer per subscriber and thus uses more memory.
§Basic use
Create a ObservableList and obtain a subscription to it using ObservableList::subscribe. Send this subscription to a remote endpoint via a remote channel and call ListSubscription::mirror on the remote endpoint to obtain a live mirror of the observed vector or process each change event individually using ListSubscription::recv.
Structs§
- List
Subscription Deprecated - Observable list subscription.
- Mirrored
List Deprecated - An append-only list that is mirroring an observable append-only list.
- Mirrored
List Ref Deprecated - A snapshot view of an observable append-only list.
- Observable
List Deprecated - An append-only list that emits an event for each change.
- Observable
List Distributor Deprecated - An observable list distributor allows subscribing to an observable list.
- Observable
List Ref Deprecated - A reference to an observable list.
Enums§
- List
Event Deprecated - A list change event.