Remote / foldkit-remote-drizzle
CursorRead
const · packages/remote-drizzle/src/cursor.ts:328
const CursorRead: Data.TaggedEnum.Constructor<
| { readonly _tag: 'Id'; readonly id: string }
| { readonly _tag: 'Invalid' }
| { readonly _tag: 'Keys'; readonly values: ReadonlyArray<unknown> }
>Its type
type CursorRead = Data.TaggedEnum<{
Keys: {
readonly values: ReadonlyArray<unknown>
}
Id: {
readonly id: string
}
Invalid: {}
}>What a cursor says: where its page ended, an id from before keys, or nothing this server minted.