commit | 2a81281e37d2ef6e1f1cda31df0cf8819278951f | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Thu Apr 02 10:25:21 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 02 10:25:21 2020 -0700 |
tree | 7200d51c68a3fba346aa3acff51d9de3bfb92eef | |
parent | 6bfcc567159012871ec00a6e057a86c58f02e8a6 [diff] |
Rewrite doc comment to refer to TypeError (#57) This will be the type going forward. Keep a reference to `CastError` for now, we can drop it after a few SDK releases.
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.