Interface: unstable_TRPCInfiniteQueryHandle<TDef>
On this page
Defined in: tanstack-react-query/src/internals/handles.ts:71
A serializable reference to an infinite query started on the server (or in a loader).
Read it with trpc.unstable_$fromHandle(handle, { getNextPageParam }).
Type Parameters
| Type Parameter | Default type |
|---|---|
TDef extends ResolverDef | ResolverDef |
Properties
[handleDef]
readonly[handleDef]:TDef&object
Defined in: tanstack-react-query/src/internals/handles.ts:78
Type-only: never present at runtime. Required, so only the handle verbs create handles.
Type declaration
kind
kind:
"infinite"
initialCursor?
readonlyoptionalinitialCursor:null|NonNullable<ExtractCursorType<TDef["input"]>>
Defined in: tanstack-react-query/src/internals/handles.ts:86
input
readonlyinput:InfiniteHandleInput<TDef["input"]>
Defined in: tanstack-react-query/src/internals/handles.ts:85
The input the query was started with, without cursor and direction
queryKey
readonlyqueryKey:HandleQueryKey<TDef,InfiniteHandleInput<TDef["input"]>,"infinite">
Defined in: tanstack-react-query/src/internals/handles.ts:79