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. lib/
  2. test/
  3. .gitignore
  4. .test_config
  5. .travis.yml
  6. analysis_options.yaml
  9. codereview.settings
  12. pubspec.yaml

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.