commit | 8e507028da669b4a7e593abfcc641335e96b81ee | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Tue Feb 02 13:31:22 2021 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 02 13:31:22 2021 -0800 |
tree | f63cbf508bb993bab5a3a63e58cd15e81d428342 | |
parent | 4b97622a656fbe918cdf64b97a69e184be7f110d [diff] |
Prepare to publish for stable null safety (#72)
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.