-
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: channels ws handler disconnect handling (#2691)
* refactor: channels ws handler disconnect handling Currently, we call `WebSocket.receive()` to block, however that method doesn't raise `WebSocketDisconnect`, instead it returns the `websocket.disconnect` message. * Adds test to ensure subscription survives receipt of arbitrary messages.
- Loading branch information
1 parent
d536235
commit 3545c5f
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters