Repository navigation
Connection Closure Notification Enhancement (v1.0.1)
This release includes a minor enhancement to the connection closure behavior:
Changes:
- Improved how the Disconnected channel behaves. Previously, the channel would only trigger if the WebSocket connection closed due to an error. Now, it will notify listeners even when you manually disconnect, passing a nil error in that case. This ensures that listeners are always aware of a closed connection, whether it was intentional or due to an issue, making it easier to handle connection events reliably.