Remove addResponse and userActivity from the public API

This commit is contained in:
Oliver 2025-11-28 21:59:47 -07:00
parent 03b3b9fb0f
commit 493337bf82

View file

@ -24,9 +24,9 @@ import { QueryStatus } from "../apps/QueryStatus.mjs";
*/
/**
* This internal API is used in order to prevent the query.notify event
* from being fired off in situations where the user hasn't responded,
* wasn't part of the query, or has already been notified.
* This internal data store is used in order to prevent the query.notify
* event from being fired off in situations where the user hasn't
* responded, wasn't part of the query, or has already been notified.
* @type {Set<string>}
*/
export const respondedToQueries = new Set();
@ -281,9 +281,7 @@ export async function userActivity(userID, connected) {
export const QueryManager = {
has, get,
query, requery,
addResponse,
notify,
finish, cancel,
setApplication,
userActivity,
};