MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / setup

Method setup

apps/collab-server/src/rooms.ts:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 async setup() {
31 if (this.setupPromise != null) {
32 return await this.setupPromise;
33 }
34
35 this.setupPromise = (async () => {
36 await getSub().subscribe(this.name);
37 })();
38
39 return await this.setupPromise;
40 }
41
42 addSocket(socket: WebSocket) {
43 this._sockets.add(socket);

Callers 1

ws-server.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected