Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ createPromise
Function
createPromise
packages/router/test/bootstrap.spec.ts:633–639 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
631
}
632
633
function
createPromise() {
634
let
resolveFn: () => void;
635
const
promise =
new
Promise<void>((r) => {
636
resolveFn = r;
637
});
638
return
{resolveFn: () => resolveFn(), promise};
639
}
Callers
1
bootstrap.spec.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected