MCPcopy Create free account
hub / github.com/parse-community/parse-server / constructor

Method constructor

src/LiveQuery/Subscription.js:13–18  ·  view source on GitHub ↗
(className: string, query: QueryData, queryHash: string)

Source from the content-addressed store, hash-verified

11 clientRequestIds: Object;
12
13 constructor(className: string, query: QueryData, queryHash: string) {
14 this.className = className;
15 this.query = query;
16 this.hash = queryHash;
17 this.clientRequestIds = new Map();
18 }
19
20 addClientSubscription(clientId: number, requestId: number): void {
21 if (!this.clientRequestIds.has(clientId)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected