commit | 8ed3d2c7f041a3b34e55303dbc34825925ef20e2 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Thu Dec 05 12:45:27 2019 -0800 |
committer | GitHub <noreply@github.com> | Thu Dec 05 12:45:27 2019 -0800 |
tree | 02e62301ddb0c4e94198cccbb1910644cf0b2a2d | |
parent | 97f058ea06141a4a14f41ee851ab6369340727c5 [diff] |
Fix newly enforce package:pedantic lints (#48) - use_function_type_syntax_for_parameters - prefer_single_quotes
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.