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.
pub type NotificationDecoder = fn(Notification) -> Result<NotificationResult>;Turns a received notification into its subscription id and result. Must match the server’s notification encoder.