commit | 58564b70081ce942b3a4a593552b2ce2b1a47a54 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Tue Apr 17 14:13:30 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Apr 17 14:13:30 2018 -0700 |
tree | 9ae0a6c5e2863f65780cfd4cf228c70e24bbc92e | |
parent | fe4f7c51087e59adda5f0b3ef01f8e093e2624d1 [diff] |
Upgrade some hints to errors (#19) These prevent building internally. Fix an unused 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.