commit | 5de8c93b03630797c71cfabbc02d228a96b49798 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Thu Mar 28 11:06:27 2019 -0700 |
committer | GitHub <noreply@github.com> | Thu Mar 28 11:06:27 2019 -0700 |
tree | aa55ddb2c6e8f5003c8e108f394c21411bbcf276 | |
parent | c1f93d5b390bdda86bf6dfbfdc3744eee141f3fb [diff] |
Change all bare Future to Future<void> (#45) Closes #35 It looks less like a potential bug and more explicitly expresses that these functions don't return useful values.
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.