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

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

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

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -