Stream: wasmtime

Topic: async API revamp implications


view this post on Zulip Roman Volosatovs (Aug 27 2025 at 13:55):

Working on integrating the async API rework from @Joel Dice , I've ran into an interesting interaction of stream/future tuples https://github.com/bytecodealliance/wasmtime/pull/11515#discussion_r2303990831

Before I move forward with the implementation of the other interfaces, @Alex Crichton @Joel Dice perhaps you have a moment to quickly sync up and align on the expectations and make sure that's the behavior we all want?

This changes the host APIs for dealing with futures and streams from a "rendezvous"-style API to a callback-oriented one. Previously you would create e.g. a StreamReader/StreamWriter pair...

Last updated: Dec 06 2025 at 06:05 UTC