UNPKG

angelia.io

Version:

WebSockets Server and Client API for node.js and the browser, with rooms support.

13 lines (12 loc) 524 B
export class Emitter { /** @type MapeableSet<import('./Socket.js').Socket> */ sockets: MapeableSet<import("./Socket.js").Socket>; get connections(): any; emit(k: any, v: any): void; once(k: any, v: any): void; /** @param me {import('./Socket.js').Socket} */ broadcast(me: import("./Socket.js").Socket, k: any, v: any): void; /** @param me {import('./Socket.js').Socket} */ broadcastOnce(me: import("./Socket.js").Socket, k: any, v: any): void; } import { MapeableSet } from './utils.js';