Created
July 7, 2020 18:21
-
-
Save mrsid96/135fa116e8208dc9e35933ed7d140469 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conn.createChannel({ | |
json: true, | |
setup: function (channel) { | |
workOnChannel(channel); | |
} | |
}); | |
let workOnChannel = async (channel) => { | |
//The channel here is a regular amqplib `ConfirmChannel`. | |
//We will perform our operations here. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment