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

[Feature]: Abort dynamic import? #9170

Open
HK-SHAO opened this issue Feb 6, 2025 · 0 comments
Open

[Feature]: Abort dynamic import? #9170

HK-SHAO opened this issue Feb 6, 2025 · 0 comments
Labels
pending triage The issue/PR is currently untouched.

Comments

@HK-SHAO
Copy link

HK-SHAO commented Feb 6, 2025

What problem does this feature solve?

If the dynamic import requires the code to be loaded asynchronously from a device such as the network or disk first, can AbortSignal be provided to cancel it?

What does the proposed API of configuration look like?

import('../../../package.json', { with: { signal } })
@HK-SHAO HK-SHAO added the pending triage The issue/PR is currently untouched. label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

1 participant