historical-deadletter-processor

historical-deadletter-processor


License
MIT
Install
npm install historical-deadletter-processor@4.1.1

Documentation

historical-deadletter-processor

NPM version

const connectionToTable = "";
const operation = () => console.log("doing");

new RetryHistoricalProcessor(
  {
    connection: connectionToTable,
    processor: (context, message) => operation(...),
    app: "an app",
    job: "a job",
    daysRetrying: 1,
    concurrency: { callsToApi: 20 },
    logger: console.log
  },
).run().asCallback(context.done);