tag | 857f5fab613804bc2a7450d687a206e328892818 | |
---|---|---|
tagger | Natalie Weizenbaum <nweiz@google.com> | Wed Jan 25 15:02:40 2017 -0800 |
object | 7e551639f5f7149e5e2791e0247b85e5f0173f71 |
Fix the types for StreamChannel.transform().
commit | 7e551639f5f7149e5e2791e0247b85e5f0173f71 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Wed Jan 25 15:01:46 2017 -0800 |
committer | GitHub <noreply@github.com> | Wed Jan 25 15:01:46 2017 -0800 |
tree | 72d98cf10b5744e3fc81dc311d648f07487ad5fa | |
parent | edb6d24c5428e7e776b9249425afec7fccde38f6 [diff] |
Fix the type args for StreamChannel.transform(). (#7) Closes #6
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.