Skip to content

Commit

Permalink
change(jetstream): consumer status() now returns an iterator instead …
Browse files Browse the repository at this point in the history
…of a Promise to an iterator.
  • Loading branch information
aricart committed Sep 5, 2024
1 parent b5be920 commit b02a4db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jetstream/src/pushconsumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class PushConsumerMessagesImpl extends QueuedIteratorImpl<JsMsg>
deliverPrefix: string | null;
serial: number;
createFails!: number;
statusIterator!: QueuedIteratorImpl<Status>;

constructor(
c: PushConsumerImpl,
Expand Down

0 comments on commit b02a4db

Please sign in to comment.