Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ flush
Function
flush
packages/zone.js/lib/zone-spec/fake-async-test.ts:1048–1050 ·
view source on GitHub ↗
(maxTurns?: number)
Source
from the content-addressed store, hash-verified
1046
* @experimental
1047
*/
1048
export
function
flush(maxTurns?: number): number {
1049
return
_getFakeAsyncZoneSpec().flush(maxTurns);
1050
}
1051
1052
/**
1053
* Discard all remaining periodic tasks.
Callers
2
Promise.spec.ts
File · 0.50
fake-async-test.spec.ts
File · 0.50
Calls
2
_getFakeAsyncZoneSpec
Function · 0.85
flush
Method · 0.45
Tested by
no test coverage detected