Clone this repo:
  1. 7e55163 Fix the type args for StreamChannel.transform(). (#7) by Natalie Weizenbaum · 8 weeks ago master 1.6.1
  2. edb6d24 Return a future from Disconnector.disconnect(). (#4) by Natalie Weizenbaum · 9 weeks ago 1.6.0
  3. ae46607 Fix transformer tests. by Natalie Weizenbaum · 10 months ago
  4. f987f87 Bump the pubspec version to 1.5.0. by Natalie Weizenbaum · 10 months ago 1.5.0
  5. f155869 Add StreamChannel.withCloseGuarantee. by Natalie Weizenbaum · 10 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.