UNPKG

tiny-matchmaking

Version:
15 lines (14 loc) 385 B
/// <reference types="node" /> import WebSocket from 'ws'; import https from 'https'; export declare type PoolItem<T> = T & { socket: WebSocket; time_joined: number; }; export declare type ServerOptions = { allowed_clients?: string[] | null; disallowed_clients?: string[] | null; queue_time?: number; poll_interval?: number; https_server?: https.Server; };