commit | 96baa9faa7c15c9b080290c19ee14fc01e041c5f | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Tue Apr 11 22:43:46 2023 +0000 |
committer | Nate Bosch <nbosch@google.com> | Tue Apr 11 22:43:46 2023 +0000 |
tree | 3c75715495c39b57b00b4538d3fc7017e9c350da | |
parent | 208ec20f456466a307b8d9e0c5218dda4951a4fc [diff] |
Expand disconnector example
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.