Skip to main content

NotificationSender

Type Alias NotificationSender 

Source
pub type NotificationSender = Arc<dyn Fn(JsonRpcRequest) + Send + Sync>;
Expand description

Type alias for a notification sender callback.

This callback is used to send notifications (like progress updates) back to the client during request handling. The callback receives a JSON-RPC request (notification format).

Aliased Typeยง

pub struct NotificationSender { /* private fields */ }