Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the boolean returned by ChannelWrapper.publish indicate #307

Open
manuschillerdev opened this issue Nov 10, 2022 · 0 comments
Open

Comments

@manuschillerdev
Copy link

ChannelWrapper.publish resolves a boolean according to the TypeScript types:

const result = await amqpChannel.publish(
        process.env.AMQP_EXCHANGE,
        "my-qeue",
        myObject
);

What does result actually indicate?
I thought if the promise resolves, the message was published successfuly, if it rejects then there was an error.

I tried to find more information about that in the documentation, but did not find anything about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant