sc_utils::pubsub

Trait Unsubscribe

Source
pub trait Unsubscribe {
    // Required method
    fn unsubscribe(&mut self, subs_id: SeqID);
}
Expand description

Unsubscribe: unregisters a previously created subscription.

Required Methods§

Source

fn unsubscribe(&mut self, subs_id: SeqID)

Remove all registrations of the subscriber with ID subs_id.

Implementors§