MCPcopy
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
633function 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.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…