tag | e4376201b66df85a2e58e02800c3828225a2fe6b | |
---|---|---|
tagger | Natalie Weizenbaum <nweiz@google.com> | Tue May 10 15:42:55 2016 -0700 |
object | b74a3766465554993122d9cc183964f4d3056546 |
Add type-coercion functions.
commit | b74a3766465554993122d9cc183964f4d3056546 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue May 10 15:42:17 2016 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue May 10 15:42:17 2016 -0700 |
tree | d3660f3d5b612efe5cfb9216636dc688fef12a6e | |
parent | 17f8d2089d2262817e49b7e627e47bfeba163b98 [diff] |
Add type-coercion functions. These match (and are based on) the coercion functions in dart-lang/async. R=sigmund@google.com Review URL: https://codereview.chromium.org//1966853003 .
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.