Display conditions
Modules

Rate this page:

Consumer

The consumer module defines the resolver for the queue to process the async events. Refer documentation at async events to see detailed usage of this feature.

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: