UNPKG

@hocuspocus/server

Version:

plug & play collaboration backend

10 lines (9 loc) 272 B
export default class EventEmitter { callbacks: { [key: string]: Function[]; }; on(event: string, fn: Function): this; protected emit(event: string, ...args: any): this; off(event: string, fn?: Function): this; removeAllListeners(): void; }