mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-25 04:27:48 +00:00
* A full knobs-and-dials buffering strategy transformation * Refine the AsyncBuffer type to require actor and add some additonal tests for custom buffer types * Migrate the internal state to an actor * Remove default unbounded policy from buffers * Remove some dead code tests and fix space removal to avoid superfluous checks * Simplification of nominal state machine, which helps eliminate actor interleaving issues. Fixed error/termination handling. Validation diagram tests, using “delay next” operators * Most robust behavior when multiple tasks are concurrently accessing the iterator * Removed Envelope, added base iterator Sendable requirement, and added conditional Sendable conformances * Minor future-proofing Co-authored-by: Kevin Perry <kperry@apple.com>