MCPcopy
hub / github.com/angular/angular / withHttpTransferCacheOptions

Function withHttpTransferCacheOptions

packages/platform-browser/src/hydration.ts:91–99  ·  view source on GitHub ↗
(
  options: HttpTransferCacheOptions,
)

Source from the content-addressed store, hash-verified

89 * @publicApi
90 */
91export function withHttpTransferCacheOptions(
92 options: HttpTransferCacheOptions,
93): HydrationFeature<HydrationFeatureKind.HttpTransferCacheOptions> {
94 // This feature has no providers and acts as a flag to pass options to the HTTP transfer cache.
95 return hydrationFeature(
96 HydrationFeatureKind.HttpTransferCacheOptions,
97 ɵwithHttpTransferCache(options),
98 );
99}
100
101/**
102 * Enables support for hydrating i18n blocks.

Callers 1

hydration_spec.tsFile · 0.90

Calls 1

hydrationFeatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…