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

Function flushMicrotasks

packages/core/test/resource/resource_spec.ts:1111–1113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1109});
1110
1111function flushMicrotasks(): Promise<void> {
1112 return new Promise((resolve) => setTimeout(resolve, 0));
1113}
1114
1115function extractError(fn: () => unknown): Error | undefined {
1116 try {

Callers 3

rejectFunction · 0.70
flushFunction · 0.70
resource_spec.tsFile · 0.70

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…