Hello Swift community,
- Lack of support for back pressure. The
AsyncThrowingStreamtypes themselves don't support back pressure.
- Unlimited buffer size by default:
Async(Throwing)Streamdefault to having an unlimited buffer, although one can set a fixed buffer size (such that the oldest values will be dropped if the limit is hit) on creation.
AsyncThrowingStreamdoesn't support typed errors: the other concurrency-related types we've introduced (task handles, task groups) have followed the precedent set by
Resultin having a typed error, even though the language
throwsmechanism doesn't support it.
AsyncThrowingStreamdoesn't have a type for the error.
Because Juneteenth weekend is starting tomorrow, June 18, for many U.S. developers, I will schedule the next review to begin next Monday, June 21. The authors have already provided an update for the second review.
Thanks to everyone who participated in the review!