query

abstract fun <D : Query.Data> query(query: Query<D>): ApolloCall<D>

Prepare a query to be executed.

Return

an ApolloCall that can be executed to perform the query.

Parameters

query

the query to be executed.

Type Parameters

D

the query data type produced by the query.

See also

ApolloCall