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

Socket.init type does not match handled cases from handle_init #17

Open
jsmestad opened this issue Oct 21, 2022 · 0 comments
Open

Socket.init type does not match handled cases from handle_init #17

jsmestad opened this issue Oct 21, 2022 · 0 comments

Comments

@jsmestad
Copy link

handle_init caller only handles {:ok, map, socket} and {:error, map, socket}. However the Socket.init/0 type accepts a 3rd return value of {:stop, term(), socket()}.

Is the type incorrect or the case statement handling the response?

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