Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

queryFeature.md

40 lines704 Bytes

Function: queryFeature()

function queryFeature<TFeatureKind>(kind, providers): QueryFeature<TFeatureKind>;

Defined in: providers.ts:150

Helper function to create an object that represents a Query feature.

Type Parameters

TFeatureKind

TFeatureKind extends QueryFeatureKind

Parameters

kind

TFeatureKind

The feature kind identifier.

providers

EnvironmentProviders

The providers contributed by the feature.

Returns

QueryFeature<TFeatureKind>

A Query feature.