Skip to content

JS API; asynchronous imports #720

Open
@wanderer

Description

@wanderer

Currently it doesn't look like there is a way for imports written in JS to return asynchronously. If this is true, would there be interest in adding a way?

I think the easiest way would be to return a promise

Metadata

Metadata

Assignees

No one assigned

    Labels

    JS embeddingasyncstack switching, JSPI, async, green threads, coroutines

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions