commit | 9e331f3e2be06b57962e261e8a1574c65fe9a5b6 | [log] [tgz] |
---|---|---|
author | Sam Rawlins <srawlins@google.com> | Tue Dec 29 22:31:22 2020 -0800 |
committer | Sam Rawlins <srawlins@google.com> | Tue Dec 29 22:31:22 2020 -0800 |
tree | 32288f84f1b0732965cfa56f89664abf5f8b2af3 | |
parent | 1eddb3296aa8d0ff265afe618d8a187161815f7a [diff] |
Remove unnecessary import
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.