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