Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
9
export
async
function
timeout(ms?: number): Promise<void> {
10
return
new
Promise((resolve) => {
11
setTimeout(resolve, ms);
12
});
13
}
14
15
export
function
useAutoTick() {
16
beforeEach(() => {
Callers
1
rxjs.Observable.timeout.spec.ts
File · 0.50
Calls
1
setTimeout
Function · 0.85
Tested by
no test coverage detected