Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async Module Loader #351

Open
stevefan1999-personal opened this issue Sep 17, 2024 · 0 comments
Open

Async Module Loader #351

stevefan1999-personal opened this issue Sep 17, 2024 · 0 comments

Comments

@stevefan1999-personal
Copy link

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(...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant