commit | b4b69c1f26cbc6dd1f5b34006219cb054459fb73 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Wed Jul 26 14:37:58 2017 -0700 |
committer | Kevin Moore <kevmoo@google.com> | Wed Jul 26 17:27:08 2017 -0700 |
tree | 20450c73a5137a807c0c30093f7ad359f5098741 | |
parent | cc5ccffcdc1133207ef2f6f78c9dd131600da891 [diff] |
dartfmt
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.