gen event - What are the differences between Elixir GenEvent's handle_call and handle_event? -


please @ answer below differences found , let me know if wrong or if there more differences. thank you.

the difference saw on elixir's documentation

  • handle_call must return reply , handle_event not have return reply

it seems me event used change state , call used state.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -