Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ flushMicrotasks
Function
flushMicrotasks
packages/core/test/resource/resource_spec.ts:1291–1293 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1289
});
1290
1291
function
flushMicrotasks(): Promise<void> {
1292
return
new
Promise((resolve) => setTimeout(resolve, 0));
1293
}
1294
1295
function
extractError(fn: () => unknown): Error | undefined {
1296
try {
Callers
3
reject
Function · 0.70
flush
Function · 0.70
resource_spec.ts
File · 0.70
Calls
1
setTimeout
Function · 0.85
Tested by
no test coverage detected