-
Notifications
You must be signed in to change notification settings - Fork 844
question: Cancel/abort async validation #2148
Copy link
Copy link
Closed
Labels
type: questionQuestions about the usage of the library.Questions about the usage of the library.
Description
I have tried to find any information on how to cancel validation and/or how to create custom cancelable async validator.
When dealing with canceling, RxJS (observables) are way to go, but since this library does not support observables (which is understandable), support for abort signal should be sufficient enough. Especially if async validator contacts server through network for validation (per example, unique email where check is done while user types e-mail address, with some debouncing).
So, question is:
- Is abort signal supported? (better yet, am I blind 😄 )
- If abort signal is not supported, are there any plans to provide support?
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: questionQuestions about the usage of the library.Questions about the usage of the library.