Julius de Bruijn
Julius de Bruijn
Is there any way to hide this message or will it break any functionality?
Yeah, this solved it for us. I don't really know should I close this issue or not. It's kind of still an issue if wanting to use the native unwind...
Hey. I've been playing around with reqwest, tokio and wasm components, and presented a bit of a demo to a customer how to use these together. You might want to...
Wait... There is enough functionality to make it work. I measured a tokio join to an endpoint with your original PR and with my changes to an endpoint with a...
This here allows async writing of body in the request: https://github.com/pimeys/reqwest/blob/feat/wasi-p2-component-support/src/wasm/component/wit/deps/io/streams.wit#L117-L132 This one here after a request is done returns a future of a response: https://github.com/pimeys/reqwest/blob/feat/wasi-p2-component-support/src/wasm/component/wit/deps/http/types.wit#L551 Which can be polled...
Here's one https://github.com/grafbase/grafbase/tree/main/examples/gateway-hooks
So what wasmtime does here is they have so called co-operative execution of the guest function. You can either use fuel or implement an epoch based yielding with it. This...
The issue with this PR is that you can't really use this version with libraries depending on reqwest: all the IO here is sync and the native reqwest is not....
@brooksmtownsend here's my past few days on the wasi async ecosystem written down, you might be interested: https://gist.github.com/pimeys/856846ff8718247d79f1557ed82d80f7 My version does _not_ do that many modifications in reqwest, most of...