rocket.chat.mqtt
Version:
It's a MQTT Server, using redis to scale horizontally.
16 lines (9 loc) • 356 B
TypeScript
// event-lite.d.ts
declare class EventLite {
static mixin(proto: any): any;
on(event: string, listener: (...args: any[]) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
off(event: string, listener: (...args: any[]) => void): this;
emit(event: string, ...args: any[]): boolean;
}
export = EventLite;