import { type ConsumerOpts } from "https://deno.land/x/natsws@v1.29.0/src/mod.ts";
Properties
optional
callbackFn: JsMsgCallbackAn optional callback to process messages - note that iterators are the preferred way of processing messages.
Standard option for all subscriptions. Defines the maximum number of messages dispatched by the server before stopping the subscription. For JetStream this may not be accurate as JetStream can add additional protocol messages that could count towards this limit.