stream_channel 2.1.3 copy "stream_channel: ^2.1.3" to clipboard
stream_channel: ^2.1.3 copied to clipboard

An abstraction for two-way communication channels based on the Dart Stream class.

Build Status 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.

54
likes
140
points
4.87M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

An abstraction for two-way communication channels based on the Dart Stream class.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async

More

Packages that depend on stream_channel