commit | 9657601c395dc2a19634da26d4b6e23bdb95cdfa | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Mon Nov 20 13:49:39 2017 -0800 |
committer | GitHub <noreply@github.com> | Mon Nov 20 13:49:39 2017 -0800 |
tree | b79990db4d134105fca04fa9ad170c26b98e025f | |
parent | 024af27dd5c3adeb9a4ed27e3e8f45d3f7d3e527 [diff] |
Use pumpEventQueue() from test (#12)
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.