commit | c446774fd077c9bdbd6235a7aadc661ef60a9727 | [log] [tgz] |
---|---|---|
author | Jacob MacDonald <jakemac@google.com> | Tue Jul 21 19:41:41 2020 -0700 |
committer | GitHub <noreply@github.com> | Tue Jul 21 19:41:41 2020 -0700 |
tree | aaa7e31faae2dae132a4a831e94cb16a0284cbe5 | |
parent | 99b164cc7736677d3dc5f1bfe1728f98a7ef77cc [diff] |
update for the 2.10 dev sdk (#61) This is in preparation for the actual 2.10 dev sdk release.
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.