amqplib-rpc
amqplib-rpc copied to clipboard
TypeError: channel.assertQueue(...).then(...).catch is not a function
Unfortunately, doesn't work with [email protected]
, because of old when
library
TypeError: channel.assertQueue(...).then(...).catch is not a function
at /Users/pnedelko/projects/elastic/api/node_modules/amqplib-rpc/lib/request.js:99:15
at Object.then (/Users/pnedelko/projects/elastic/api/node_modules/when/when.js:355:15)
at /Users/pnedelko/projects/elastic/api/node_modules/when/when.js:253:12
at /Users/pnedelko/projects/elastic/api/node_modules/when/when.js:417:5
at Immediate.drainQueue [as _onImmediate] (/Users/pnedelko/projects/elastic/api/node_modules/when/when.js:735:4)
at tryOnImmediate (timers.js:543:15)
at processImmediate [as _immediateCallback] (timers.js:523:5)
@pnedelko moved your comments #7