Trait pallet_message_queue::OnQueueChanged
source · pub trait OnQueueChanged<Id> {
// Required method
fn on_queue_changed(id: Id, items_count: u64, items_size: u64);
}
Expand description
Handler code for when the items in a queue change.
Required Methods§
sourcefn on_queue_changed(id: Id, items_count: u64, items_size: u64)
fn on_queue_changed(id: Id, items_count: u64, items_size: u64)
Note that the queue id
now has item_count
items in it, taking up items_size
bytes.