Make MultiChannel follow the stream channel rules.
Make MultiChannel follow the stream channel rules.

It was written before the rules were fully fleshed-out, and I forgot to
update it to comply.

R=tjblasi@google.com

Review URL: https://codereview.chromium.org//1686263002 .
4 files changed
tree: 062a13d1e442646c92cd2538b27fbfe745774dfc
  1. .gitignore
  2. .test_config
  3. AUTHORS
  4. CHANGELOG.md
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. codereview.settings
  9. lib/
  10. pubspec.yaml
  11. test/
README.md

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.