Remote / foldkit-remote/maintained

MaintainedValue

interface · packages/remote/src/maintained/definition.ts:70

interface MaintainedValue<A> {
  readonly value: A
  readonly complete: boolean
}

A maintained value over every row the client has loaded for the list's query and input, as filtered is: not the rows that exist, and not the window the read given as over shows (a read asking first: 25 of a list holding 50 rows shows 25; the value is over the 50).

complete is filtered's. It is false when a loaded row could not be judged by where, when a counted row lacks a field the list selects, when the server has not said the loaded rows reach the start and the end, or when a gap lies between loaded pages; the value is then over the rows that could be counted.

Members

MaintainedValue.value

property · packages/remote/src/maintained/definition.ts:71

readonly value: A

MaintainedValue.complete

property · packages/remote/src/maintained/definition.ts:72

readonly complete: boolean