commit | 024af27dd5c3adeb9a4ed27e3e8f45d3f7d3e527 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Fri Sep 22 13:44:15 2017 -0700 |
committer | GitHub <noreply@github.com> | Fri Sep 22 13:44:15 2017 -0700 |
tree | ee1c27bfdb782724f6e43dc35aa153a03ba26ca5 | |
parent | 946252509f97830cb310691480de4a5b7b33d7e1 [diff] |
Declare support for async 2.0.0 (#10)
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.