Closed titsex closed 6 months ago
How can I guarantee knowledge?
I definitely need to wait for the acknowledgment before executing the subsequent code.
At the moment, I am solving this problem as follows:
const channel = ... channel.ack() setTimeout(() => { // my code }, 0)
I would like to expect the following behavior:
const channel = ... channel.on('ack', () => { // my code }) channel.ack()
Ravan, please change your username to something more appropriate if you wish to receive help with this library
How can I guarantee knowledge?
I definitely need to wait for the acknowledgment before executing the subsequent code.
At the moment, I am solving this problem as follows:
I would like to expect the following behavior: