Skip to content

Async Module Loader #351

@stevefan1999-personal

Description

@stevefan1999-personal

Per the request of DelSkayn/rquickjs#125, this is currently a problem for Den to load HTTP files remotely and asynchronously in the sense that I have to block the entire thread for the task to run:

https://github.com/stevefan1999-personal/den/blob/25672db84c93b7d36fb70e514dbe5f92b2e63188/den-core/src/loader/http.rs#L109

While async reqwest and parallel download of HTTP scripts should work as intended, but the whole execution flow has to be stopped, even in case with dynamic import aka await import(...).

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