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§
sourcefn on_messages_delivered(lane: LaneId, enqueued_messages: MessageNonce)
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.