MCPcopy
hub / github.com/parse-community/parse-server / Subscriber

Interface Subscriber

src/Adapters/PubSub/PubSubAdapter.js:33–45  ·  view source on GitHub ↗

* @interface Subscriber * @memberof PubSubAdapter

Source from the content-addressed store, hash-verified

31 * @memberof PubSubAdapter
32 */
33interface Subscriber {
34 /**
35 * called when a new subscription the channel is required
36 * @param {String} channel the channel to subscribe
37 */
38 subscribe(channel: string): void;
39
40 /**
41 * called when the subscription from the channel should be stopped
42 * @param {String} channel
43 */
44 unsubscribe(channel: string): void;
45}
46
47export default PubSubAdapter;

Callers 13

benchmarkLiveQueryRegexFunction · 0.65
_createSubscribersMethod · 0.65
constructorMethod · 0.65
ParseUser.spec.jsFile · 0.65
benchmarkLiveQueryRegexFunction · 0.65
shutdownMethod · 0.65
ParseUser.spec.jsFile · 0.65

Implementers 2

Subscribersrc/Adapters/PubSub/EventEmitterPubSub
Consumersrc/Adapters/MessageQueue/EventEmitter

Calls

no outgoing calls

Tested by

no test coverage detected