referrerpolicy=no-referrer-when-downgrade

Trait bp_messages::source_chain::OnMessagesDelivered

source ·
pub trait OnMessagesDelivered<LaneId> {
    // Required method
    fn on_messages_delivered(lane: LaneId, enqueued_messages: MessageNonce);
}
Expand description

Callback that is called at the source chain (bridge hub) when we get delivery confirmation for new messages.

Required Methods§

source

fn on_messages_delivered(lane: LaneId, enqueued_messages: MessageNonce)

New messages delivery has been confirmed.

The only argument of the function is the number of yet undelivered messages

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<LaneId> OnMessagesDelivered<LaneId> for ()

source§

fn on_messages_delivered(_lane: LaneId, _enqueued_messages: MessageNonce)

Implementors§