sqs-resource

0.0.4 • Public • Published

sqs-resource

init

sqs-resource must first be initiated with the method init that takes the aws config as first argument and the sqs config as second argument.

methods

the sendMessage, receiveMessage and deleteMessage methods aws functions are wrapped with proper logging and promisified, and take the usual aws arguments. An additional pollThrottling argument is possible for the receiveMessage method to activate polling and specify in ms the time to wait before retrying.

Dependents (0)

Package Sidebar

Install

npm i sqs-resource

Weekly Downloads

1

Version

0.0.4

License

ISC

Last publish

Collaborators

  • sagacify