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

handle_cast not working? #127

Open
manast opened this issue Oct 2, 2023 · 0 comments
Open

handle_cast not working? #127

manast opened this issue Oct 2, 2023 · 0 comments

Comments

@manast
Copy link

manast commented Oct 2, 2023

I have tried all possible ways but I am not able to get the handle_cast callback to be called. Not even using the Echo example.

  def handle_cast({:send, {type, msg} = frame}, state) do
    Logger.info("Sending #{type} frame with payload: #{msg}")
    {:reply, frame, state}
  end

This mimics the example code shown in the README, but nothing, it is just ignored, what could be the issue?

Btw, the echo server is no longer available...

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