Skip to main content

Class: Query<T>

Features to query, along with their arguments.

A query is created by using either queryBuilder or createQuery.

A query is executed by calling either requestImpression or useImpression.

Type parameters

NameType
Textends FeatureNames

Constructors

constructor

new Query<T>()

Type parameters

NameType
Textends "ExampleFeature" | "ExampleFeature2"

Methods

getExampleFeature

getExampleFeature(__namedParameters): Query<"ExampleFeature" | T>

An example feature for reference documentation purposes

Parameters

NameType
__namedParametersObject
__namedParameters.exampleStringstring

Returns

Query<"ExampleFeature" | T>


getExampleFeature2

getExampleFeature2(__namedParameters): Query<"ExampleFeature2" | T>

A second example feature for reference documentation purposes

Parameters

NameType
__namedParametersObject
__namedParameters.exampleIntnumber

Returns

Query<"ExampleFeature2" | T>