MCPcopy Index your code
hub / github.com/angular/angular / composeAsync

Method composeAsync

packages/forms/src/validators.ts:461–463  ·  view source on GitHub ↗

* @description * Compose multiple async validators into a single function that returns the union * of the individual error objects for the provided control. * * @returns A validator function that returns an error map with the * merged error objects of the async validators if the valid

(validators: (AsyncValidatorFn | null)[])

Source from the content-addressed store, hash-verified

459 *
460 */
461 static composeAsync(validators: (AsyncValidatorFn | null)[]): AsyncValidatorFn | null {
462 return composeAsync(validators);
463 }
464}
465
466/**

Callers 2

validators_spec.tsFile · 0.80

Calls 1

composeAsyncFunction · 0.85

Tested by

no test coverage detected