Clone this repo:
  1. 1cfe91a Merge pull request #13 from dart-lang/prep-for-release by Gary Roumanis · 5 weeks ago master 1.6.3
  2. c067537 prep for release by Gary Roumanis · 5 weeks ago
  3. 9657601 Use pumpEventQueue() from test (#12) by Natalie Weizenbaum · 9 weeks ago
  4. 024af27 Declare support for async 2.0.0 (#10) by Natalie Weizenbaum · 4 months ago 1.6.2
  5. 9462525 Remove -dev.infinity in SDK upper constraint by Kevin Moore · 4 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.