commit | 1eddb3296aa8d0ff265afe618d8a187161815f7a | [log] [tgz] |
---|---|---|
author | Phil Quitslund <pq@users.noreply.github.com> | Wed Nov 11 15:38:08 2020 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 11 15:38:08 2020 -0800 |
tree | dfff26632e852fa3f221bb21243fc26d9c116384 | |
parent | ca0d016cef7f6761fc845a326ce85e4f0d0f7ef3 [diff] | |
parent | 2b78137a4a3bd71fecf1df0956cc7dedee059855 [diff] |
Merge pull request #68 from dart-lang/pq-patch-1 remove redundant experiment
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.