commit | 71d46906b2678ce44d9564bfd0e83229742dad93 | [log] [tgz] |
---|---|---|
author | Tobe Osakwe <thosakwe@gmail.com> | Tue Apr 11 15:50:57 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Apr 11 15:50:57 2023 -0700 |
tree | 01fab91f475db491b8d059db1489cffe9415f85c | |
parent | 74646ea6d87cf3b3ef5b08656b2afd326e4e5beb [diff] |
Add example/example.dart (#52)
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 StreamChannel
s and with two-way communications in general. For documentation of these utilities, see the API docs.