Skip to main content

Module monitor

Module monitor 

Source
Expand description

Socket event monitoring.

Provides event streams for tracking socket lifecycle events like connections, disconnections, and errors.

Enums§

SocketEvent
Socket lifecycle events.

Constants§

MONITOR_CHANNEL_CAP
Bound on the number of undrained monitor events held in the channel.

Functions§

create_monitor
Creates a new monitoring channel pair.
emit
Emit a monitor event without ever blocking the socket path.

Type Aliases§

SocketEventSender
Internal sender for socket events.
SocketMonitor
Handle for receiving socket events.