rvolosatovs opened PR #11684 from rvolosatovs:feat/async-util to bytecodealliance:main:
A few fairly small improvements:
- Introduce a blanket implementation of
FutureProducerforFuture, which allows callingpoll_produceon anyFuture- Move
StreamEmptyProducerfromwasmtime_wasitowasmtimefor better reusability and discoverability for embeders
alexcrichton submitted PR review.
rvolosatovs updated PR #11684.
rvolosatovs updated PR #11684.
rvolosatovs updated PR #11684.
rvolosatovs has marked PR #11684 as ready for review.
rvolosatovs requested wasmtime-wasi-reviewers for a review on PR #11684.
rvolosatovs requested pchickey for a review on PR #11684.
rvolosatovs requested wasmtime-core-reviewers for a review on PR #11684.
rvolosatovs commented on PR #11684:
@alexcrichton I've pushed https://github.com/bytecodealliance/wasmtime/pull/11684/commits/e3ad380aac2adb93c58490abbdd84b9b0cd34a60 with quite a bit more functionality, would you re-review?
I've also added a fewStreamProducerimplementations for common collections to hopefully make life easier for embedders. Happy to drop that completely and/or extract into a separate PR if there are concerns about doing that.
rvolosatovs edited a comment on PR #11684:
@alexcrichton I've pushed https://github.com/bytecodealliance/wasmtime/pull/11684/commits/e3ad380aac2adb93c58490abbdd84b9b0cd34a60 with quite a bit more functionality, would you re-review?
I've also added a fewStreamProducerimplementations for common collections to hopefully make life easier for embedders. Happy to drop that completely and/or extract into a separate PR if there are concerns about doing that.I was hoping to write some tests for these as well, but ran out of time. I can address that tomorrow
Last updated: Dec 06 2025 at 06:05 UTC