kaspa_rpc_core/notify/
mode.rs

1/// [`NotificationMode`] controls notification delivery process
2#[derive(Clone, Copy, Debug, PartialEq, Eq)]
3pub enum NotificationMode {
4    /// Local notifier is used for notification processing.
5    ///
6    /// Multiple listeners can register and subscribe independently.
7    MultiListeners,
8    /// No notifier is present, notifications are relayed
9    /// directly through the internal channel to a single listener.
10    Direct,
11}