feat(serio): unbounded memory channels (#37)

* Added unbounded memory channels

* Add Clone to channel senders

* Changelog

* Apply suggestions from code review

Co-authored-by: th4s <th4s@metavoid.xyz>

* UnboundedMemoryDuplex + comments

---------

Co-authored-by: th4s <th4s@metavoid.xyz>
This commit is contained in:
Nicolas Le Bel
2024-11-25 18:14:45 +02:00
committed by GitHub
parent 09f1abe261
commit 280bb38dac
2 changed files with 135 additions and 1 deletions

View File

@@ -5,3 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
`UnboundedMemorySink` and `UnboundedMemoryStream` mirroring the `MemorySink` and `MemoryStream` wrappers of `futures::mpsc::{Sender, Receiver}` for `futures::mpsc::{UnboundedSender, UnboundedReceiver}`.