commit | 1e1d3410a899da8e836b9b21a8a6b5609184fc70 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Wed Feb 10 21:08:55 2016 |
committer | Natalie Weizenbaum <nweiz@google.com> | Wed Feb 10 21:08:55 2016 |
tree | ea292f0c45986616e4f8dee7e3964aa6de708903 | |
parent | 4556f5e95043854a2fc61d2610e7cfb8c830dfd8 [diff] |
Make IsolateChannel's controllers synchronous. This is slightly more efficient, and also make it easier for other packages to work around dart-lang/sdk#25745. R=tjblasi@google.com Review URL: https://codereview.chromium.org//1690473002 .
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.