QueryKey

interface QueryKey<T>

QueryKey for managing Query associated with id.

Parameters

T

Type of data to retrieve.

Properties

Link copied to clipboard
abstract val fetch: suspend QueryReceiver.() -> T

Suspending function to retrieve data.

Link copied to clipboard
abstract val id: QueryId<T>

A unique identifier used for managing QueryKey.

Functions

Link copied to clipboard

Function to configure the QueryOptions.

Link copied to clipboard

Function to specify initial data.

Link copied to clipboard

Function to convert specific exceptions as data.