I am wondering why some times we have callbacks and others we have promises. Why we dont use the same asynchronous mechanisms?
By the way, queue.subscribe contains a promise (not documented). It is mentioned but in the unsubscribe method. This cover my need of the 'basicQosOk' to detect the subscription has been done.
I am wondering why some times we have callbacks and others we have promises. Why we dont use the same asynchronous mechanisms?
By the way, queue.subscribe contains a promise (not documented). It is mentioned but in the unsubscribe method. This cover my need of the 'basicQosOk' to detect the subscription has been done.