Interface Pool<T, A>

interface Pool<T, A> {
    get(...args: A): T;
    purge(): void;
    release(object: T): void;
    size(): number;
    used(): number;
}

Type Parameters

  • T
  • A extends unknown[]

Methods