MCPcopy
hub / github.com/socketio/socket.io / of

Method of

packages/socket.io-postgres-emitter/lib/index.ts:109–111  ·  view source on GitHub ↗

* Return a new emitter for the given namespace. * * @param nsp - namespace * @public

(nsp: string)

Source from the content-addressed store, hash-verified

107 * @public
108 */
109 public of(nsp: string): Emitter {
110 return new Emitter(this.pool, (nsp[0] !== "/" ? "/" : "") + nsp);
111 }
112
113 /**
114 * Emits to all clients.

Callers 5

arraybuffer.jsFile · 0.45
worker.jsFile · 0.45
index.tsFile · 0.45
socket.tsFile · 0.45
cluster-adapter.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected