Remove addResponse and userActivity from the public API
This commit is contained in:
parent
03b3b9fb0f
commit
493337bf82
1 changed files with 3 additions and 5 deletions
|
|
@ -24,9 +24,9 @@ import { QueryStatus } from "../apps/QueryStatus.mjs";
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This internal API is used in order to prevent the query.notify event
|
* This internal data store is used in order to prevent the query.notify
|
||||||
* from being fired off in situations where the user hasn't responded,
|
* event from being fired off in situations where the user hasn't
|
||||||
* wasn't part of the query, or has already been notified.
|
* responded, wasn't part of the query, or has already been notified.
|
||||||
* @type {Set<string>}
|
* @type {Set<string>}
|
||||||
*/
|
*/
|
||||||
export const respondedToQueries = new Set();
|
export const respondedToQueries = new Set();
|
||||||
|
|
@ -281,9 +281,7 @@ export async function userActivity(userID, connected) {
|
||||||
export const QueryManager = {
|
export const QueryManager = {
|
||||||
has, get,
|
has, get,
|
||||||
query, requery,
|
query, requery,
|
||||||
addResponse,
|
|
||||||
notify,
|
notify,
|
||||||
finish, cancel,
|
finish, cancel,
|
||||||
setApplication,
|
setApplication,
|
||||||
userActivity,
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue