commit | 3b9926876dc06970b583c34d0cb359ef976c4350 | [log] [tgz] |
---|---|---|
author | Sam Rawlins <srawlins@google.com> | Mon Jan 09 21:31:41 2023 -0800 |
committer | GitHub <noreply@github.com> | Mon Jan 09 21:31:41 2023 -0800 |
tree | 07a4752ac242af56f59c60fb3b3b947b9858daab | |
parent | 0a7800ae41be5f7ba9990388fecc30a700186a48 [diff] |
Migrate from no-implicit-casts to strict-casts (#84)
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.