You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AsyncWebsocketClient::streaming_operation currently returns an anonymous Stream type. This is fine for reading the results of a subscription, but there's a few things it can't support:
Stopping the subscription (arguably dropping the stream might do this, although not sure if it's handled very cleanly).
Checking why a stream ended.
Ideally we'd return a custom type that implements Stream but also:
Provides a stop function.
Stops the subscription cleanly on drop.
Provides a way to check whether the subscription stopped "cleanly" or because of some sort of connectivity error etc.
The text was updated successfully, but these errors were encountered:
AsyncWebsocketClient::streaming_operation
currently returns an anonymousStream
type. This is fine for reading the results of a subscription, but there's a few things it can't support:Ideally we'd return a custom type that implements
Stream
but also:The text was updated successfully, but these errors were encountered: