[][src]Trait interledger_stream::StreamNotificationsStore

pub trait StreamNotificationsStore {
    type Account: Account;
    fn add_payment_notification_subscription(
        &self,
        account_id: <Self::Account as Account>::AccountId,
        sender: UnboundedSender<PaymentNotification>
    );
fn publish_payment_notification(&self, _payment: PaymentNotification); }

A trait representing the Publish side of a pub/sub store

Associated Types

Loading content...

Required methods

fn add_payment_notification_subscription(
    &self,
    account_id: <Self::Account as Account>::AccountId,
    sender: UnboundedSender<PaymentNotification>
)

fn publish_payment_notification(&self, _payment: PaymentNotification)

Loading content...

Implementors

Loading content...