amqplib-rpc icon indicating copy to clipboard operation
amqplib-rpc copied to clipboard

TypeError: channel.assertQueue(...).then(...).catch is not a function

Open pnedelko opened this issue 8 years ago • 1 comments

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 avatar Jul 11 '16 14:07 pnedelko

@pnedelko moved your comments #7

tjmehta avatar Jul 13 '16 23:07 tjmehta