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:1111–1113 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1109
});
1110
1111
function
flushMicrotasks(): Promise<void> {
1112
return
new
Promise((resolve) => setTimeout(resolve, 0));
1113
}
1114
1115
function
extractError(fn: () => unknown): Error | undefined {
1116
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