A Queue with synchronous operations.

interface SyncQueue {
    front?(): undefined | T;
    push(item): void;
    shift(): undefined | T;
}

Type Parameters

  • T

Hierarchy

Implemented by

Methods

Methods

Generated using TypeDoc