@nats-io/jetstream
    Preparing search index...

    Type Alias ConsumeCallback

    type ConsumeCallback = {
        callback?: ConsumerCallbackFn;
    }
    Index

    Properties

    Properties

    Process messages using a callback instead of an iterator. Note that when using callbacks, the callback cannot be async. If you must use async functionality, process messages using an iterator.