Skip to main content

ack_params

Function ack_params 

Source
fn ack_params(
    id: &str,
    clicked: bool,
    action: Option<&str>,
    proof: &str,
) -> Value
Expand description

The data of a notify.ack: a body click, a dismissal, or (action) a button. The id is the notification’s; what a button does is decided in srv from its own record, never from this. A button carries proof: any client with the instance key can send an ack, and srv does what skips or stops a wait only for the launcher.