Axinom Mosaic Libraries
    Preparing search index...

    Handles subscriptions to RabbitMQ queues and processing of messages using provided message handler and middleware functions.

    Type Parameters

    • TContent
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Wrapper to call onMessage of a MessageHandler and make sure that message processing is completed.

      Parameters

      Returns Promise<void>

    • Initializes a subscription and attaches session event handlers to it.

      Returns Promise<SubscriberSessionAsPromised>