Consumer

On This Page

    The consumer module defines the resolver for the queue to process the async events. For more information about this feature, see async events.

    Properties

    PropertyTypeRequiredDescription
    key

    string

    Yes

    A key for the module, which other modules can refer to. Must be unique within the manifest.

    Regex: ^[a-zA-Z0-9_-]+$

    queuestringYes

    The name of the queue for which the resolver processes the events asynchronously.

    resolver{ function: string, method: string}Yesresolver contains two properties. The function property refers to the function module that defines the handler for resolver. The method property refers to the resolver method that will be executed when events are pushed to the queue of this consumer module.

    Rate this page: