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' -

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -