commit | 1a3219bf2d87cb7f5c77fc4b521eadf44fca0a00 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Tue Mar 26 15:38:48 2019 -0700 |
committer | GitHub <noreply@github.com> | Tue Mar 26 15:38:48 2019 -0700 |
tree | 8d51c138eecb3597301f82958bd58671e27a2941 | |
parent | 1df5483315e5d2963faa6ea73a9da61f98dc8cd5 [diff] |
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.
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 StreamChannel
s and with two-way communications in general. For documentation of these utilities, see the API docs.