How to detect channel disconnected (can not listen cause message will duplicated)
Open
package:web_socket_channel
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 8
Description
Hi, just wonder if there an alternative way to detection disconnection of channel, I wanna something like:
```
if (channel.disConnect) {....}
```
is there anyway to do this? (I should do it when user refresh...... do not need listen to stream....)
Contributor guide
Assessment
This issue has not been assessed yet.