commit | 863546aeae43379860eb33a906bfd094e61385bb | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Tue Jun 12 09:27:35 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 12 09:27:35 2018 -0700 |
tree | f8008f72d937dcc6409f7677de91f4c8a1cb452c | |
parent | d1490091974e6871a8189c72e991bc5470b78e1b [diff] |
Enable prefer_typing_unitialized_varables lint (#30) Work towards #29 Using the lint catches a bug were an uninitialized variable was causing an instantiation to pick up a reified type of `dynamic` instead of a useful type.
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.