commit | ced970b0eee27eb9f1655c41dac76ab997af31ea | [log] [tgz] |
---|---|---|
author | Sam Rawlins <srawlins@google.com> | Tue Oct 20 16:12:08 2020 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 20 16:12:08 2020 -0700 |
tree | 7cb7b448acb34fd9029784873dce35b4280f673e | |
parent | 348803280a5c8eeb2d97f15540623cc85f997f05 [diff] |
Remove unused dart:async import The only members of dart:async used here (Future and/or Stream) are exported from dart:core now.
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.