Skip to main content

NotificationDecoder

Type Alias NotificationDecoder 

Source
pub type NotificationDecoder = fn(Notification) -> Result<NotificationResult>;
Expand description

Turns a received notification into its subscription id and result. Must match the server’s notification encoder.