UNPKG

@omneedia/socketcluster

Version:

SocketCluster - A Highly parallelized WebSocket server cluster to make the most of multi-core machines/instances.

12 lines (11 loc) 264 B
export interface ISetCtor { new <T>(): ISet<T>; } export interface ISet<T> { add(value: T): void; has(value: T): boolean; size: number; clear(): void; } export declare function minimalSetImpl<T>(): ISetCtor; export declare const Set: ISetCtor;