Skip to main content

emit

Function emit 

Source
pub fn emit(sender: &SocketEventSender, event: SocketEvent)
Expand description

Emit a monitor event without ever blocking the socket path.

Uses a non-blocking send: if the monitor is full (the application is not draining it) or the receiver has been dropped, the event is discarded rather than stalling the socket operation that produced it.