UNPKG

simpleddp-node

Version:

The aim of this library is to simplify the process of working with meteor server over DDP protocol using external JS environments

14 lines (13 loc) 302 B
export declare class Queue<Q> { private readonly consumer; private paused; private queue; constructor(consumer: Q); pause(): void; continue(): void; push<T>(element: T): void; unshift<T>(element: T): void; process(): void; empty(): void; } export default Queue;