MCPcopy Create free account
hub / github.com/FernhillFable/cluster / MemoryPubSub

Function MemoryPubSub

lib/pubsub/memory.js:12–15  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

10// processes are desired. No pub/sub APIs are adapter specific.
11
12function MemoryPubSub(options) {
13 if (!(this instanceof MemoryPubSub)) return new MemoryPubSub(options);
14 PubSub.call(this, options);
15}
16module.exports = MemoryPubSub;
17
18MemoryPubSub.prototype = Object.create(PubSub.prototype);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected