commit | a32c9be3d422be3268d053b336d3d65a2638ffc2 | [log] [tgz] |
---|---|---|
author | Jacob MacDonald <jakemac@google.com> | Mon Apr 16 11:57:37 2018 -0700 |
committer | Jacob MacDonald <jakemac@google.com> | Mon Apr 16 11:57:37 2018 -0700 |
tree | bc73241a794aa669f847f179c23902086db6c2d3 | |
parent | 1196a6ac4b205b58b453515df34b9c2f9dd4124b [diff] |
make sure the inner sink is properly typed in JsonDocumentTransformer.bind
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.