Skip to main content

MAX_TOASTS

Constant MAX_TOASTS 

Source
pub const MAX_TOASTS: usize = 8;
Expand description

Maximum toasts retained by one queue.

Pushing past the bound drops the oldest toast, so a burst of application events can never grow the retained tree without limit.