Support aborting when() using AbortSignal #3550
deadbeef84
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
Sounds like a great idea. PR welcome :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was wondering if we could do the same with the MobX |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know the promise returned by
when()
can be aborted usingpromise.cancel()
, but I think the new standard mechanism for aborting async operations is using AbortController / Signal.I suggest adding a signal parameter to the options object:
Beta Was this translation helpful? Give feedback.
All reactions