UNPKG

echogarden

Version:

An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.

14 lines 308 B
export class Queue { list = []; constructor() { } enqueue(item) { this.list.push(item); } dequeue() { return this.list.shift(); } get isEmpty() { return this.list.length == 0; } get isNonempty() { return !this.isEmpty; } } //# sourceMappingURL=Queue.js.map