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

[FR] Composition cancellation #612

Open
StrahilKazlachev opened this issue Apr 7, 2018 · 0 comments
Open

[FR] Composition cancellation #612

StrahilKazlachev opened this issue Apr 7, 2018 · 0 comments

Comments

@StrahilKazlachev
Copy link
Contributor

I'm submitting a feature request

  • Library Version:
    vNext

Current behavior:
No way to cancel an ongoing composition - CompostionEngine.prototype.compose

Expected/desired behavior:

  • What is the expected behavior?
    There should be a way to request a composition cancellation.
    It is a pity that it is still unclear whether the AbortController is the way to go or there will be an ES defined mechanism.

  • What is the motivation / use case for changing the behavior?
    Issues like the following <compose> inserts contents twice templating-resources#335 could be solved way cleaner.
    We should also check other parts of the framework where cancellation will be appropriate.

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

No branches or pull requests

2 participants