MCPcopy Create free account
hub / github.com/angular/components / wait

Function wait

src/cdk/layout/breakpoints-observer.spec.ts:33–35  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

31 });
32
33 function wait(milliseconds: number) {
34 return new Promise(resolve => setTimeout(resolve, milliseconds));
35 }
36
37 it('retrieves the whether a query is currently matched', () => {
38 const query = 'everything starts as true in the FakeMediaMatcher';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected