Package-level declarations

Types

Link copied to clipboard
typealias QueriesErrorReset = () -> Unit

Functions

Link copied to clipboard

Automatically generated value for mutationId and subscriptionId.

Link copied to clipboard
fun KeepAlive(key: InfiniteQueryKey<*, *>, client: QueryClient = LocalQueryClient.current)

Keep the infinite query alive.

fun KeepAlive(key: MutationKey<*, *>, client: MutationClient = LocalMutationClient.current)

Keep the mutation alive.

fun KeepAlive(key: QueryKey<*>, client: QueryClient = LocalQueryClient.current)

Keep the query alive.

Link copied to clipboard
fun rememberQueriesErrorReset(filter: ResumeQueriesFilter = remember { ResumeQueriesFilter(predicate = { it.isFailure }) }, client: SwrClient = LocalSwrClient.current): QueriesErrorReset

Remember a QueriesErrorReset to resume all queries with filter matched.