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

Method broadcast

apps/collab-server/src/rooms.ts:53–57  ·  view source on GitHub ↗
(message: Uint8Array)

Source from the content-addressed store, hash-verified

51 }
52
53 broadcast(message: Uint8Array) {
54 for (const socket of this._sockets) {
55 socket.send(message);
56 }
57 }
58 broadcastExcept(message: Uint8Array, exception: WebSocket) {
59 for (const socket of this._sockets) {
60 if (socket !== exception) {

Callers 1

rooms.tsFile · 0.80

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected