Trait lightning::events::MessageSendEventsProvider

source ·
pub trait MessageSendEventsProvider {
    // Required method
    fn get_and_clear_pending_msg_events(&self) -> Vec<MessageSendEvent>;
}
Expand description

A trait indicating an object may generate message send events

Required Methods§

source

fn get_and_clear_pending_msg_events(&self) -> Vec<MessageSendEvent>

Gets the list of pending events which were generated by previous actions, clearing the list in the process.

Implementors§