Skip to main content

post

Function post 

Source
pub fn post(
    req: &NotificationRequest,
    state: &NotificationState,
    dnd: bool,
) -> Result<NotifyOutcome, ShellError>
Expand description

Post a notification unless the request is empty or Do-Not-Disturb is in effect.