0.7.2 • Published 5 months ago

@yourrentals/util-sqs-consumer v0.7.2

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

@yourrentals/util-sqs-consumer

This library implements a SQS consumer that can be used to receive messages from SQS

Installation

yarn add @yourrentals/util-sqs-consumer

Usage

import {Consumer} from '@yourrentals/util-sqs-consumer';

const consumer = new Consumer({
  queueUrl: 'https://sqs.eu-west-1.amazonaws.com/123456789012/my-queue',
  handleMessage: async (message) => {
    // ...
  },
  // ... Additional options
});

consumer.start();
0.7.2

5 months ago

0.7.1

5 months ago

0.6.1

7 months ago

0.6.0

7 months ago

0.5.2

7 months ago

0.5.1

7 months ago

0.5.0

7 months ago

0.4.3

7 months ago

0.4.2

7 months ago

0.4.1

7 months ago