class FIFOimport { FIFO } from "https://deno.land/x/fifo@v0.2.2/lib/fifo.ts"; ConstructorsnewFIFO(capacity?: number)Type ParametersTPropertiesprivatehead: StaticFIFO<T>privateoptionalresolve: (value: T) => voidprivatetail: StaticFIFO<T>length: numberMethodsclear()peek()push(value: T)shift()[Symbol.asyncIterator]()[Symbol.iterator]()