referrerpolicy=no-referrer-when-downgrade

Trait sc_utils::pubsub::Subscribe

source ·
pub trait Subscribe<K> {
    // Required method
    fn subscribe(&mut self, subs_key: K, subs_id: SeqID);
}
Expand description

Subscribe using a key of type K

Required Methods§

source

fn subscribe(&mut self, subs_key: K, subs_id: SeqID)

Register subscriber with the ID subs_id as having interest to the key K.

Implementors§