Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/easyts/container/queue.ts>Queue#iterator

js library written with ts, use select and chan like golang in js.
Latest
method Queue.prototype.iterator
import { Queue } from "https://deno.land/x/easyts@0.1.3/container/queue.ts";

return js iterator

Parameters

optional
reverse: boolean

If true, returns an iterator to traverse in reverse

Returns

Iterator<T>