MCPcopy Create free account
hub / github.com/TanStack/query / queryFeature

Function queryFeature

packages/angular-query/src/providers.ts:161–168  ·  view source on GitHub ↗
(providers: EnvironmentProviders)

Source from the content-addressed store, hash-verified

159 * @returns An opaque feature that installs the supplied environment providers.
160 */
161export function queryFeature(providers: EnvironmentProviders): QueryFeature {
162 const feature: InternalQueryFeature = {
163 [queryFeatureBrand]: true,
164 ɵproviders: providers,
165 }
166
167 return feature
168}
169
170/**
171 * Gets the environment providers owned by an opaque Query feature.

Callers 5

withDevtoolsFunction · 0.85
withDevtoolsFunction · 0.85
withPersistQueryClientFunction · 0.85
withHydrationKeyFunction · 0.85
withNoQueryHydrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected