tag | 25e6285f36fbca671a73a989d551c4f5e8f36532 | |
---|---|---|
tagger | Natalie Weizenbaum <nweiz@google.com> | Tue Feb 09 00:12:39 2016 |
object | 89c732f6651f90db1090400ba9141f93f95bd892 |
Add StreamChannel.withGuarantees and StreamChannelController.
commit | 89c732f6651f90db1090400ba9141f93f95bd892 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Feb 09 00:11:18 2016 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Feb 09 00:11:18 2016 |
tree | 918c5bb740b624bdd15a1c0f6f604d971b605b33 | |
parent | 571eb86fc7c5d95a97703adaff98a23b9d06cf33 [diff] |
Make IsolateChannel use StreamChannelCompleter. This exposed some lingering bugs in GuaranteeChannel as well. R=tjblasi@google.com Review URL: https://codereview.chromium.org//1671763002 .
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.