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

Function shouldEnableEventReplay

packages/core/src/hydration/event_replay.ts:67–69  ·  view source on GitHub ↗

* Determines whether Event Replay feature should be activated on the client.

(injector: Injector)

Source from the content-addressed store, hash-verified

65 * Determines whether Event Replay feature should be activated on the client.
66 */
67function shouldEnableEventReplay(injector: Injector) {
68 return injector.get(IS_EVENT_REPLAY_ENABLED, EVENT_REPLAY_ENABLED_DEFAULT);
69}
70
71/**
72 * Returns a set of providers required to setup support for event replay.

Callers 1

withEventReplayFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected