Clone this repo:
  1. e7de9f4 Allow SDK versions <3.0.0 (#32) by Patrice Chalin · 7 months ago master 1.6.8
  2. c702d4e Cast streams to correct types in IsolateChannel (#31) by Nate Bosch · 8 months ago 1.6.7+1
  3. 863546a Enable prefer_typing_unitialized_varables lint (#30) by Nate Bosch · 8 months ago
  4. d149009 Fix doc comment references (#28) by Nate Bosch · 8 months ago 1.6.7
  5. 9de92ec Drop dependency on StackTrace (#27) by Nate Bosch · 8 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.