commit | 34804a13bfa3112faecddfcd6a5a4f2b6e184aa4 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Jun 20 15:13:45 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 20 15:13:45 2023 -0700 |
tree | bd329df2ff9014d4db086742d854545e83e860ef | |
parent | b1d3384638064a4f25beacef3be770e2c4534408 [diff] |
Fix a race condition in IsolateChannel.connectReceive() (#92)
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.