referrerpolicy=no-referrer-when-downgrade

Trait sc_utils::pubsub::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§