Skip to main content

NOTIFICATION_EVENT

Static NOTIFICATION_EVENT 

Source
pub static NOTIFICATION_EVENT: OnceLock<BlockingNotification>
Expand description

This public static is only set when a notification server instance is passed in cast_spell. It is created to maintain the compliance with freedesktop’s desktop notification specification. It’s method can be called in specific senarios to notify applications that a notification with an id has been closed. This static holds an instance of BlockingNotificaiton