MCPcopy
hub / github.com/angular/angular / asyncRejectRenderHook

Function asyncRejectRenderHook

packages/platform-server/test/integration_spec.ts:183–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183function asyncRejectRenderHook() {
184 return () => {
185 return new Promise<void>((_resolve, reject) => {
186 setTimeout(() => {
187 reject('reject');
188 });
189 });
190 };
191}
192
193const RenderHookProviders = [
194 {

Callers

nothing calls this directly

Calls 2

setTimeoutFunction · 0.85
rejectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…