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 * 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,
}; };