commit | ae466077de4cfd4b6edddf60ee64f9a6203ff73c | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Mon Jun 06 16:54:35 2016 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Mon Jun 06 16:54:35 2016 -0700 |
tree | 733df836775bb3322c39b62c4905e2d7a6b58e27 | |
parent | f987f87c1c2922c1a0965fca545f36beeb6adb41 [diff] |
Fix transformer tests. These tests should never have passed, since they were closing a sink before its controller emitted events. R=cbracken@google.com Review URL: https://codereview.chromium.org//2048473002 .
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.