node-red-contrib-tak-registration
Version:
A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK
12 lines (10 loc) • 342 B
TypeScript
export declare type Item = any;
export declare type Comparator<Item> = (a: Item, b: Item) => number;
export default class TinyQueue<Item> {
public data : Item[];
public length : number;
constructor (items? : Item[], compare? : Comparator<Item>);
peek () : Item | undefined;
pop () : Item | undefined;
push (item: Item) : void;
}