Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Changed wording in readme
  • Loading branch information
ronfarkash authored Aug 25, 2021
1 parent 6c280c3 commit 076bd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const run = async () => {
await consumer.subscribe();
await consumer.run({
onMessage: async ({ ack, message, properties, redeliveryCount }) => {
await ack(); // Default is specific ack
await ack(); // Default is individual ack
// await ack({type: Consumer.ACK_TYPES.CUMULATIVE});
console.log({
message,
Expand Down

0 comments on commit 076bd79

Please sign in to comment.