MCPcopy Create free account
hub / github.com/angular/angular / asyncRejectRenderHook

Function asyncRejectRenderHook

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

setTimeoutFunction · 0.85
rejectFunction · 0.85

Tested by

no test coverage detected