Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class QueuedIteratorImpl
implements QueuedIterator<T>
import { QueuedIteratorImpl } from "https://deno.land/x/natsws@v1.29.2/src/nats-base-client.ts";

Constructors

new
QueuedIteratorImpl()

Properties

optional
_data: unknown
optional
ctx: unknown
optional
dispatchedFn: DispatchedFn<T>
done: boolean
optional
err: Error
filtered: number
inflight: number
optional
ingestionFilterFn: IngestionFilterFn<T>
iterClosed: Deferred<void | Error>
noIterator: boolean
pendingFiltered: number
processed: number
optional
protocolFilterFn: ProtocolFilterFn<T>
received: number
signal: Deferred<void>
time: number
yielding: boolean
yields: T[]

Methods

getPending(): number
getProcessed(): number
getReceived(): number
iterate(): AsyncIterableIterator<T>
push(v: T): void
stop(err?: Error): void