UNPKG

active-switching

Version:

NPAW's SDK for CDN Balancing and P2P

12 lines (11 loc) 260 B
export default class Queue<T> { private size; private array; constructor(size: number); add(data: T): void; removeFirst(): T | undefined; peek(): T | undefined; isEmpty(): boolean; copyArray(): T[]; lastn(n: number): T[]; }