Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueriesObserver

class QueriesObserver extends Subscribable<QueriesObserverListener> {
constructor(client: QueryClient, queries?: QueryObserverOptions[]);
private client;
private findMatchingObservers;
private notify;
private observers;
private observersMap;
private onUpdate;
private queries;
private result;
 
protected onSubscribe(): void;
protected onUnsubscribe(): void;
destroy(): void;
getCurrentResult(): QueryObserverResult[];
getOptimisticResult(queries: QueryObserverOptions[]): QueryObserverResult[];
getQueries(): import("./query.d.ts").Query<unknown, unknown, unknown, import("./types.d.ts").QueryKey>[];
setQueries(queries: QueryObserverOptions[], notifyOptions?: NotifyOptions): void;
}

§Extends

§
Subscribable<QueriesObserverListener>
[src]

§Constructors

§
new QueriesObserver(client: QueryClient, queries?: QueryObserverOptions[])
[src]

§Properties

§
client
[src]
§
findMatchingObservers
[src]
§
notify
[src]
§
observers
[src]
§
observersMap
[src]
§
onUpdate
[src]
§
queries
[src]
§
result
[src]

§Methods

§
onSubscribe(): void protected
[src]
§
onUnsubscribe(): void protected
[src]
§
destroy(): void
[src]
§
getCurrentResult(): QueryObserverResult[]
[src]
§
getOptimisticResult(queries: QueryObserverOptions[]): QueryObserverResult[]
[src]
§
getQueries(): import("./query.d.ts").Query<unknown, unknown, unknown, import("./types.d.ts").QueryKey>[]
[src]
§
setQueries(queries: QueryObserverOptions[], notifyOptions?: NotifyOptions): void
[src]