NATSQueuedIterator.ts overview
Since v0.1.0
Exports Grouped by Category
models
NATSQueuedIterator (interface)
Represents a NATS QueuedIterator wrapper with Effect methods
Signature
export interface NATSQueuedIterator<T, E> {
readonly [TypeId]: TypeId
readonly stop: (err?: Error) => Effect.Effect<void>
readonly getProcessed: Effect.Effect<number>
readonly getPending: Effect.Effect<number>
readonly getReceived: Effect.Effect<number>
readonly stream: Stream.Stream<T, E, never>
/** @internal */
readonly iterator: NATS.QueuedIterator<T>
}
Since v0.1.0
type ids
TypeId
Signature
declare const TypeId: unique symbol
Since v0.1.0
TypeId (type alias)
Signature
type TypeId = typeof TypeId
Since v0.1.0