rememberInfiniteQueryIf

fun <T, S, V> rememberInfiniteQueryIf(value: V, keyFactory: (value: V) -> InfiniteQueryKey<T, S>?, config: InfiniteQueryConfig = InfiniteQueryConfig.Default, client: QueryClient = LocalQueryClient.current): InfiniteQueryObject<QueryChunks<T, S>, S>?
fun <T, S, U, V> rememberInfiniteQueryIf(value: V, keyFactory: (value: V) -> InfiniteQueryKey<T, S>?, select: (QueryChunks<T, S>) -> U, config: InfiniteQueryConfig = InfiniteQueryConfig.Default, client: QueryClient = LocalQueryClient.current): InfiniteQueryObject<U, S>?

Provides a conditional rememberInfiniteQuery.

Calls rememberInfiniteQuery only if keyFactory returns a InfiniteQueryKey from value.

See also