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

Function timeout

packages/common/test/pipes/util.ts:9–13  ·  view source on GitHub ↗
(ms?: number)

Source from the content-addressed store, hash-verified

7 */
8
9export async function timeout(ms?: number): Promise<void> {
10 return new Promise((resolve) => {
11 setTimeout(resolve, ms);
12 });
13}
14
15export function useAutoTick() {
16 beforeEach(() => {

Callers 1

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…