MCPcopy Index your code
hub / github.com/angular/components / wait

Function wait

src/material/tabs/tab-header.spec.ts:30–32  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

28 let resizeEvents: Subject<ResizeObserverEntry[]>;
29
30 function wait(milliseconds: number) {
31 return new Promise(resolve => setTimeout(resolve, milliseconds));
32 }
33
34 beforeEach(() => {
35 resizeEvents = new Subject();

Callers 3

tab-header.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…