This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Description
I wanted to log a discussion I had with some folks recently (cc @lukewagner, @sunfishcode, @pchickey, @elliottt) where we were talking about the blocking-* family of functions present on the streams interface.
Attempting to summarize the discussion, my impression was that the functions were originally added for convenience for examples/tutorials/getting started/etc, but with the recent developments around writes and flush happening on bytecodealliance/wasmtime#6877 the story there was a bit more unclear and a blocking-write function is less obvious than before.
One option was to enhance/updated the blocking-* functions to do "what you might expect" e.g. bundling a check-write or things like that. The other option though was to go the other way and remove the convenience blocking-* functions for now and optionally add them back in later.
We figured that no changes should probably be done in the preview2 time frame but we would want to consider changes for a later time frame.