Clone this repo:
  1. a76e864 allow the 2.12 prerelease sdks (#66) by Jacob MacDonald · 3 days ago master 2.1.0-nullsafety.2
  2. d7251e6 Merge pull request #65 from dart-lang/srawlins-patch-1 by Sam Rawlins · 5 days ago
  3. ced970b Remove unused dart:async import by Sam Rawlins · 5 days ago
  4. 3488032 Prepare for the 2.11 dev SDKs (#64) by Nate Bosch · 5 weeks ago 2.1.0-nullsafety.1
  5. 6d07ed9 Remove the author section from pubspec (#63) 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.