FLUTTER ECOSYSTEM

dart-archive/stream_channel

An abstraction for two-way communication channels.

stream_channel project cover
Stars
49
Forks
17
Last push (UTC)
Feb 1, 2025
Project status
Archived
Dart Archive GitHub avatar
GITHUB Organization

Dart Archive ↗

Legacy projects kept around for posterity – See github.com/dart-lang for current work

LanguagesDart

Dependencies used

Dependency list 3 items
  • async^2.5.0
  • dart_flutter_team_lintsDevelopment^3.0.0
  • testDevelopment^1.16.6

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/tools/tree/main/pkgs/stream_channel

Dart CI pub package package publisher

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.