Skip to main content
Version: Next

Class: SyncLiveQuery<QO, TO, QB, TB>

Type parameters#

NameType
QOextends RequestOptionsRecordCacheQueryOptions
TOextends RequestOptionsRecordCacheTransformOptions
QBRecordQueryBuilder
TBRecordTransformBuilder

Hierarchy#

  • LiveQuery

    SyncLiveQuery

Constructors#

constructor#

new SyncLiveQuery<QO, TO, QB, TB>(settings)

Type parameters#

NameType
QOextends RequestOptionsRecordCacheQueryOptions
TOextends RequestOptionsRecordCacheTransformOptions
QBRecordQueryBuilder<string, RecordIdentity>
TBRecordTransformBuilder<string, RecordIdentity, UninitializedRecord>

Parameters#

NameType
settingsSyncLiveQuerySettings<QO, TO, QB, TB>

Overrides#

LiveQuery.constructor

Defined in#

record-cache/src/live-query/sync-live-query.ts:73

Properties#

debounce#

Readonly debounce: boolean

Inherited from#

LiveQuery.debounce

Defined in#

record-cache/src/live-query/live-query.ts:24

Methods#

operationRelevantForQuery#

operationRelevantForQuery(operation): boolean

Parameters#

NameType
operationRecordOperation

Returns#

boolean

Inherited from#

LiveQuery.operationRelevantForQuery

Defined in#

record-cache/src/live-query/live-query.ts:63


query#

query<Result>(): Result

Type parameters#

NameType
Resultextends RecordQueryResult<InitializedRecord>RecordQueryResult<InitializedRecord>

Returns#

Result

Defined in#

record-cache/src/live-query/sync-live-query.ts:78


subscribe#

subscribe(cb): () => void

Parameters#

NameType
cb(update: SyncLiveQueryUpdate<QO, TO, QB, TB>) => void

Returns#

fn

▸ (): void

Returns#

void

Defined in#

record-cache/src/live-query/sync-live-query.ts:82