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

Fix dialyzer errors #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timothyvanderaerden
Copy link

This includes the following

  • Fix delivery_tag type for ack/3 and reject/3 in adapter callback
  • Follow basic_consume_ok/2 and basic_deliver/3 callback contract in the consumer case clauses

I'm not sure if the last is applicable, maybe the callback return types need to be changed instead?

According to the callback `basic_consume_ok/2` and `basic_deliver/3` expect `:ok` or `{:stop, reason :: any()}`. However they both contain a case clause which can never be invoked since other clauses in that case matches the contract.
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

Successfully merging this pull request may close these issues.

1 participant