Skip to main content Link Search Menu Expand Document (external link)

JetStreamLister.ts overview

Since v0.1.0


Exports Grouped by Category


models

JetStreamLister (interface)

Represents a NATS JetStream Lister wrapper with Effect methods

Signature

export interface JetStreamLister<T, E> {
  readonly [TypeId]: TypeId
  readonly next: () => Effect.Effect<Array<T>>
  readonly stream: Stream.Stream<T, E, never>

  /** @internal */
  readonly lister: JetStream.Lister<T>
}

Source

Since v0.1.0

type ids

TypeId

Signature

declare const TypeId: unique symbol

Source

Since v0.1.0

TypeId (type alias)

Signature

type TypeId = typeof TypeId

Source

Since v0.1.0