Skip to content

Support for spawn in wasi-async-runtime? #7

Description

@Heap-Hop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions