@squidcloud/backend
    Preparing search index...

    Function onQueueMessage

    • Decorator that marks a function as a handler for messages on a queue topic. The function will be called once for each message that passes through the topic.

      Type Parameters

      • T = unknown

      Parameters

      • topicName: string

        The name of the topic to listen to.

      • OptionalintegrationId: string

        The ID of the integration. If not provided, the built_in_queue integration is used.

      Returns ActionMethodDecorator<QueueMessageAction<T>>