Skip to main content

AsyncValidationResult

Promise-like or observable-like result accepted from an asynchronous validator.

Import​

import type { AsyncValidationResult } from '@ngblocks/form-nodes';

When to use it​

Use for the Promise-like or Observable-like result of async validation. It describes the result container; create the validator itself with asyncValidator().

Declaration​

type AsyncValidationResult = PromiseLike<ValidationResult> | ObservableLike<ValidationResult>;