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

Function getTimerObs

packages/forms/test/validators_spec.ts:601–605  ·  view source on GitHub ↗
(time: number, errorMap: {[key: string]: any})

Source from the content-addressed store, hash-verified

599
600 it('should wait for all validators before setting errors', async () => {
601 function getTimerObs(time: number, errorMap: {[key: string]: any}): AsyncValidatorFn {
602 return (c: AbstractControl) => {
603 return timer(time).pipe(map(() => errorMap));
604 };
605 }
606
607 const v = Validators.composeAsync([
608 getTimerObs(100, {one: true}),

Callers 1

validators_spec.tsFile · 0.85

Calls 1

timerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…