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

Function beforeSubscribe

spec/ParseLiveQuery.spec.js:471–476  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

469 await object.save();
470 const hooks = {
471 beforeSubscribe(req) {
472 expect(req.op).toBe('subscribe');
473 expect(req.requestId).toBe(1);
474 expect(req.query).toBeDefined();
475 expect(req.user).toBeUndefined();
476 },
477 beforeConnect(req) {
478 expect(req.event).toBe('connect');
479 expect(req.clients).toBe(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…