I noticed that futures_concurrency is used in the wasi-http-client-example to join tasks concurrently.
I’m curious about the best way to spawn async tasks in a wasi-async-runtime environment.
It could be useful for server-side such as handling socket.accept.
Would it make sense to add a dedicated spawn function, or is there an existing pattern approach for this?
Thank you.
I noticed that
futures_concurrencyis used in the wasi-http-client-example tojointasks concurrently.I’m curious about the best way to
spawnasync tasks in awasi-async-runtimeenvironment.It could be useful for server-side such as handling socket.accept.
Would it make sense to add a dedicated
spawnfunction, or is there an existing pattern approach for this?Thank you.