Clone this repo:
  1. 2a81281 Rewrite doc comment to refer to TypeError (#57) by Nate Bosch · 3 months ago master
  2. 6bfcc56 Close send channel in test (#54) by Nate Bosch · 4 months ago
  3. 70433d5 Drop usages of Delegating*.typed (#50) by Nate Bosch · 6 months ago
  4. af36cdd Fix implicit casts (#49) by Nate Bosch · 6 months ago
  5. 8ed3d2c Fix newly enforce package:pedantic lints (#48) by Nate Bosch · 7 months ago

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 StreamChannels and with two-way communications in general. For documentation of these utilities, see the API docs.