Live Query Options docs
Use .liveOptions
to configure live queries for Event Iterator. Unlike .streamedOptions
which accumulates chunks, live queries replace the entire result with each new chunk received
const query = useQuery(orpc.live.experimental_liveOptions({
input: { id: 123 }, // Specify input if needed
context: { cache: true }, // Provide client context if needed
// additional options...
}))