You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, they don't work with each other. In general, the community is moving towards AbortController (with all its flaws) instead of cancellable promises, so it may be worth adopting that instead in your code.
I want a Promise that is cancelable and whose executor is lazily evaluated. Is this possible by composing p-cancelable with p-lazy?
At the moment it seems impossible. If I wrap p-lazy with p-cancelable...
...it would no longer be lazy, because calling
lazy.then()
triggers the executor. On the other hand, if I wrap p-cancelable with p-lazy......then we cannot cancel it because
lazy
does not have a.cancel()
method.The text was updated successfully, but these errors were encountered: