Clone this repo:
  1. 97f058e Require Dart 2.2 – because pkg:pedantic by Kevin Moore · 3 months ago master
  2. 9a4a0d8 pubspec: Make the description a bit longer by Kevin Moore · 3 months ago
  3. 8a58e01 Test on oldest supported Dart SDK by Kevin Moore · 3 months ago
  4. 413613b Add missing dartfmt --fix lint by Kevin Moore · 3 months ago
  5. bd7e21f Fix outdated URLs by Kevin Moore · 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.