Skip to content

Interface: IvmLiveQueryLike<T>

Defined in: client/src/ivm.ts:81

Duck-typed shape both IvmLiveQuery and IvmAggregateLiveQuery satisfy. The engine’s ivmByTable map holds this interface so dispatchChanges and refreshIvmForTable(s)Batch don’t have to branch on which flavour the query is.

T = unknown

readonly sourceTables: readonly string[]

Defined in: client/src/ivm.ts:86

applyChange(change): void

Defined in: client/src/ivm.ts:82

RowChange

void


refresh(rowsPerTable): void

Defined in: client/src/ivm.ts:83

ReadonlyMap<string, readonly Row[]>

void


subscribe(cb): () => void

Defined in: client/src/ivm.ts:84

(rows) => void

() => void


subscribeDelta(cb): () => void

Defined in: client/src/ivm.ts:85

(delta) => void

() => void