UNPKG

@incdevco/framework

Version:
11 lines (7 loc) 423 B
# Queue Consumer Polls the queue for messages and passes to processMessage function in exchange for a promise. Will attempt to poll multiple times. ## Processing Messages When processing a message you must delete the message from the queue, if you do not want to process it again. The message object will be the exact one return by the AWS sdk. ## Triggering The Lambda Should be triggered by CloudWatch Scheduled Rule.