FakeInfiniteQueryKey

Creates a fake infinite query key that returns the result of the given mock function.

Constructors

Link copied to clipboard
constructor(target: InfiniteQueryKey<T, S>, mock: FakeInfiniteQueryFetch<T, S>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val fetch: suspend QueryReceiver.(param: S) -> T
Link copied to clipboard
open override val id: InfiniteQueryId<T, S>
Link copied to clipboard
open override val initialParam: () -> S
Link copied to clipboard
open override val loadMoreParam: (QueryChunks<T, S>) -> S?

Functions

Link copied to clipboard
Link copied to clipboard
open override fun onRecoverData(): QueryRecoverData<QueryChunks<T, S>>?