UNPKG

asynciterator

Version:

An asynchronous iterator library for advanced object pipelines.

16 lines (15 loc) 341 B
/** * A list with O(1) push and shift operations. */ export declare class LinkedList<V> { private _length; private _head; private _tail; get length(): number; get first(): V | undefined; get last(): V | undefined; get empty(): boolean; push(value: V): void; shift(): V | undefined; clear(): void; }