commit | edb6d24c5428e7e776b9249425afec7fccde38f6 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Thu Jan 19 13:43:02 2017 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 19 13:43:02 2017 -0800 |
tree | c2267b2714f813639343d0aea04b5823af752a4a | |
parent | ae466077de4cfd4b6edddf60ee64f9a6203ff73c [diff] |
Return a future from Disconnector.disconnect(). (#4)
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.