Releases: najamelan/ws_stream_wasm
Releases · najamelan/ws_stream_wasm
2019-08-02 - patch release
2019-08-02 Breaking change: Fix wakeup stream if connection closed externally
- BREAKING CHANGE: Fix: Correctly wake up tasks waiting for a next message if the connection gets closed externally.
This prevents these tasks from hanging indefinitely.
As a consequence,WsStream::close
now returns aResult
, taking into account that if the connection is already
closed, we don't have theCloseEvent
. Instead aWsErr
of kindWsErrKind::ConnectionNotOpen
is returned. - update to async_runtime 0.3