commit | d9ee6b8f52e415ad1ddfee22f25b368b1eef5fbd | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Wed May 02 12:51:37 2018 -0700 |
committer | GitHub <noreply@github.com> | Wed May 02 12:51:37 2018 -0700 |
tree | 784c9991c0d02ea0c87a9a0a0eff58907c70f1da | |
parent | 923a4fb17f8bb27480480849877c3fffbd4c52b3 [diff] |
Fix a remaining Dart 2 issue (#23) We had some unnecessary typed wrappers that were interfering with runtime type arguments. Closes #22
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.