stream_channel
雙向通訊通道的抽象
- 星標
- 49
- 分支
- 17
- 最近推送(UTC)
- 2025年2月1日
- 專案狀態
- 已封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/tools/tree/main/pkgs/stream_channel
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.
使用的依賴
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗