* Return a new emitter for the given namespace. * * @param nsp - namespace * @public
(nsp: string)
| 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. |
no outgoing calls
no test coverage detected