Add separate import for `IsolateChannel` (#40)

This will allow us to move to this import in the few packages which are
using this class, like test, without having a fully broken state in
between, and without required `git` dependency overrides.
4 files changed
tree: 8d51c138eecb3597301f82958bd58671e27a2941
  1. .gitignore
  2. .test_config
  3. .travis.yml
  4. AUTHORS
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
  9. analysis_options.yaml
  10. codereview.settings
  11. lib/
  12. pubspec.yaml
  13. 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.