pub type ReconfigSubscription = SubscriptionService<SubscriptionBundle, OnChainConfigPayload>;
Expand description

A subscription service for on-chain reconfiguration notifications from state sync This is declared/implemented here instead of in types/on_chain_config because when subscription_service crate is a dependency of types, the build-dev fails

Implementations§

source§

impl ReconfigSubscription

source

pub fn subscribe_all( name: &str, configs: Vec<ConfigID>, events: Vec<EventKey> ) -> (Self, Receiver<(), OnChainConfigPayload>)