commit | 9de92ec3ef78a6911658e2131ab7fedd117f4e9b | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Fri Jun 08 14:59:51 2018 -0700 |
committer | GitHub <noreply@github.com> | Fri Jun 08 14:59:51 2018 -0700 |
tree | 9c08890b756bb194a8576f78e6f62a8539b88880 | |
parent | c1c4e389d40c2590196521d1109d2f1d86741e2a [diff] |
Drop dependency on StackTrace (#27) The extra wrapping of `StackTrace.current` can always be done by the receiver.
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.