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

Function addLiveQueryEventHandler

src/triggers.js:170–174  ·  view source on GitHub ↗
(handler, applicationId)

Source from the content-addressed store, hash-verified

168}
169
170export function addLiveQueryEventHandler(handler, applicationId) {
171 applicationId = applicationId || Parse.applicationId;
172 _triggerStore[applicationId] = _triggerStore[applicationId] || baseStore();
173 _triggerStore[applicationId].LiveQuery.push(handler);
174}
175
176export function removeFunction(functionName, applicationId) {
177 remove(Category.Functions, functionName, applicationId);

Callers

nothing calls this directly

Calls 1

baseStoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…