Trait medea_reactive::subscribers_store::SubscribersStore [−][src]
Store for updates subscribers.
Required methods
fn send_update(&self, value: T)
[src]
Sends data update to the all subscribers.
fn subscribe(&self) -> LocalBoxStream<'static, O>
[src]
Creates new updates subscription.
Returns Stream
yielding elements sent with
SubscribersStore::send_update()
calls.
#[must_use]fn wrap(&self, value: T) -> O
[src]
Wraps the provided value
to the output type.
Implementors
impl<T> SubscribersStore<T, Guarded<T>> for medea_reactive::subscribers_store::progressable::SubStore<T> where
T: Clone + 'static,
[src]
T: Clone + 'static,
fn send_update(&self, value: T)
[src]
fn subscribe(&self) -> LocalBoxStream<'static, Guarded<T>>
[src]
fn wrap(&self, value: T) -> Guarded<T>
[src]
impl<T> SubscribersStore<T, T> for medea_reactive::subscribers_store::common::SubStore<T> where
T: Clone + 'static,
[src]
T: Clone + 'static,