Sending RabbitMQ Message from JavaScript with async / await
Thursday, November 22nd, 2018I’m doing a lot of JavaScript development these days, and most of the example JS code I find on the web uses callbacks. I much prefer async/await, and sometimes the translation isn’t obvious. Â Here’s how to send a message using amqplib to RabbitMQ using async await. The interesting bit here is the waitForConfirms method. […]