A queue data structure.

interface Queue {
    front?(options?): MaybePromise<undefined | T>;
    push(item, options?): unknown;
    shift(options?): MaybePromise<undefined | T>;
}

Type Parameters

  • T

Hierarchy

Methods

Methods

Generated using TypeDoc