We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0316fd commit 694aa26Copy full SHA for 694aa26
packages/graphql/lib/src/links/websocket_link/websocket_client.dart
@@ -637,9 +637,10 @@ class GraphQLWebSocketChannel extends StreamChannelMixin<dynamic>
637
638
/// Stream of messages from the endpoint parsed as GraphQLSocketMessages
639
Stream<GraphQLSocketMessage> get messages {
640
- if (_messages == null) _messages = stream.map((event) {
641
- return GraphQLSocketMessage.parse(event);
642
- }).asBroadcastStream();
+ if (_messages == null)
+ _messages = stream.map((event) {
+ return GraphQLSocketMessage.parse(event);
643
+ }).asBroadcastStream();
644
645
return _messages!;
646
}
0 commit comments