AsyncValidator
interface
An interface implemented by classes that perform asynchronous validation.
API
Usage Notes
interface AsyncValidator extends Validator {}
validate
Promise<ValidationErrors | null> | Observable<ValidationErrors | null>
Method that performs async validation against the provided control.
@returns
Promise<ValidationErrors | null> | Observable<ValidationErrors | null>
registerOnValidatorChange
void
Registers a callback function to call when the validator inputs change.
@paramfn
() => void
The callback function
@returns
void
Jump to details