|author||Nate Bosch <email@example.com>||Thu Apr 02 10:25:21 2020 -0700|
|committer||GitHub <firstname.lastname@example.org>||Thu Apr 02 10:25:21 2020 -0700|
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
StreamChannels and with two-way communications in general. For documentation of these utilities, see the API docs.