-
handle_cast
- expect no reply
-
handle_call
- expect reply
-
Instead of spawning process, using
spawn_link
will link the process accordingly.- The supervisor can respawn that process.
- Supervise strategy like
one_for_one
. sys: trace
to be used for tracingsys:get_state()
to be used for seeing the statesys:replace_state()
for debugging