Struct rillrate::Link [−]
pub struct Link<T> where
T: Flow, { /* fields omitted */ }
Expand description
A link for listening events from a Recorder
.
Implementations
pub fn sender(&self) -> UnboundedSender<ActionEnvelope<T>>
pub fn sender(&self) -> UnboundedSender<ActionEnvelope<T>>
Clones a sender.
pub fn receiver(self) -> UnboundedReceiver<ActionEnvelope<T>>
pub fn receiver(self) -> UnboundedReceiver<ActionEnvelope<T>>
Takes a receiver.