Clone this repo:
  1. 5de8c93 Change all bare Future to Future<void> (#45) by Nate Bosch · 3 months ago master 2.0.0
  2. c1f93d5 Remove StreamChannelTransformer.typed (#44) by Nate Bosch · 3 months ago
  3. 627edcf Hide JsonDocumentTransformer (#43) by Nate Bosch · 3 months ago
  4. 3d17c73 Move isolate_channel to it's own import (#39) by Nate Bosch · 3 months ago
  5. e45508d Enforce override annotations (#42) by Nate Bosch · 3 months ago

This package exposes the StreamChannel interface, which represents a two-way communication channel. Each StreamChannel exposes a Stream for receiving data and a StreamSink for sending it.

StreamChannel helps abstract communication logic away from the underlying protocol. For example, the test package re-uses its test suite communication protocol for both WebSocket connections to browser suites and Isolate connections to VM tests.

This package also contains utilities for dealing with StreamChannels and with two-way communications in general. For documentation of these utilities, see the API docs.