Ensure consistent return values between API styles
such that the callback style will return false as the second parameter
if the channel's write buffer is 'full', and true otherwise. Calls to
#publish and #sendToQueue will return undefined when using the callback
style API and will return a Promise otherwise.