UNPKG

rascal

Version:

A config driven wrapper for amqplib supporting multi-host connections, automatic error recovery, redelivery flood protection, transparent encryption / decryption, channel pooling and publication timeouts

7 lines (6 loc) 152 B
module.exports = function (config, ctx, next) { ctx.vhost.nuke((err) => { if (err) return next(err); return next(null, config, ctx); }); };