Expand description
Socket event monitoring.
Provides event streams for tracking socket lifecycle events like connections, disconnections, and errors.
Enums§
- Socket
Event - 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§
- Socket
Event Sender - Internal sender for socket events.
- Socket
Monitor - Handle for receiving socket events.