commit | 4b97622a656fbe918cdf64b97a69e184be7f110d | [log] [tgz] |
---|---|---|
author | Jacob MacDonald <jakemac@google.com> | Tue Feb 02 11:20:18 2021 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 02 11:20:18 2021 -0800 |
tree | b37aacf0991b7e221e1e2294c5ff79afd181fc9c | |
parent | 5c712d93a90234c2746f4061f6a781dc618608ec [diff] |
Revert "Remove unnecessary import" (#71) This reverts commit 9e331f3e2be06b57962e261e8a1574c65fe9a5b6. Since this has not been published or rolled through to the SDK or Flutter we will hold it back to reduce risk.
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.