Class: SyncLiveQuery<QO, TO, QB, TB>
Type parameters​
Name | Type |
---|---|
QO | extends RequestOptions = RecordCacheQueryOptions |
TO | extends RequestOptions = RecordCacheTransformOptions |
QB | RecordQueryBuilder |
TB | RecordTransformBuilder |
Hierarchy​
LiveQuery
↳
SyncLiveQuery
Constructors​
constructor​
• new SyncLiveQuery<QO
, TO
, QB
, TB
>(settings
)
Type parameters​
Name | Type |
---|---|
QO | extends RequestOptions = RecordCacheQueryOptions |
TO | extends RequestOptions = RecordCacheTransformOptions |
QB | RecordQueryBuilder <string , RecordIdentity > |
TB | RecordTransformBuilder <string , RecordIdentity , UninitializedRecord > |
Parameters​
Name | Type |
---|---|
settings | SyncLiveQuerySettings <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​
Name | Type |
---|---|
operation | RecordOperation |
Returns​
boolean
Inherited from​
LiveQuery.operationRelevantForQuery
Defined in​
record-cache/src/live-query/live-query.ts:63
query​
â–¸ query<Result
>(): Result
Type parameters​
Name | Type |
---|---|
Result | extends RecordQueryResult <InitializedRecord > = RecordQueryResult <InitializedRecord > |
Returns​
Result
Defined in​
record-cache/src/live-query/sync-live-query.ts:78
subscribe​
â–¸ subscribe(cb
): () => void
Parameters​
Name | Type |
---|---|
cb | (update : SyncLiveQueryUpdate <QO , TO , QB , TB >) => void |
Returns​
fn
â–¸ (): void
Returns​
void