commit | 97f058ea06141a4a14f41ee851ab6369340727c5 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Thu Jul 25 10:14:41 2019 -0700 |
committer | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Jul 25 10:24:07 2019 -0700 |
tree | 0568c6b20dab8c41a0b6ad67ca5f8db54482ff1b | |
parent | 9a4a0d844b66d93ab6f4e1a9b4feb5030cee552c [diff] |
Require Dart 2.2 – because pkg:pedantic
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.