| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
_clientPeer = json_rpc.Peer(
// Manually create a StreamChannel<String> instead of calling
// .cast<String>() as cast() results in addStream() being called,
// binding the underlying sink. This results in a StateError being thrown
// if we try and add directly to the sink, which we do for binary events
// in [EventStreamMethod]'s streamNotify().
StreamChannel<String>(
connection.stream.cast(),
StreamController(sync: true)
..stream
.cast<String>()
.listen((event) => connection.sink.add(event))
.onDone(() => connection.sink.close()),
),
strictProtocolChecks: false,
);Could we introduce some local variables, I'm finding this really hard to parse.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |