Skip to content

Commit ddd7523

Browse files
committedDec 19, 2023
Add AsyncBackpressuredStream proposal and implementation
# Motivation The pitch to add external backpressure support to the standard libraries `AsyncStream` got returned for revision since there are larger open questions around `AsyncSequence`. However, having external backpressure in a source asynchronous sequence is becoming more and more important. # Modification This PR adds a modified proposal and implementation that brings the Swift Evolution proposal over to Swift Async Algorithms.
1 parent da4e36f commit ddd7523

9 files changed

+3943
-0
lines changed
 
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎Evolution/0016-backpressured-stream.md

+731
Large diffs are not rendered by default.

‎Sources/AsyncAlgorithms/BackpressuredStream/AsyncBackpressuredStream+Internal.swift

+1,192
Large diffs are not rendered by default.

‎Sources/AsyncAlgorithms/BackpressuredStream/AsyncBackpressuredStream.swift

+425
Large diffs are not rendered by default.

‎Sources/AsyncAlgorithms/BackpressuredStream/AsyncNonThrowingBackpressuredStream.swift

+429
Large diffs are not rendered by default.

‎Tests/AsyncAlgorithmsTests/BackpressuredStream/BackpressuredStreamTests.swift

+1,166
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)