DistributedSupervisor.Listener behaviour (distributed_supervisor v0.2.0)
View SourceThe implementation of this behaviour might be passed
to DistributedSupervisor.start_link/1
to receive
notifications about processes state.
Summary
Callbacks
@callback on_process_start( name :: DistributedSupervisor.name(), id :: DistributedSupervisor.id(), pid :: pid() ) :: :ok
@callback on_process_stop( name :: DistributedSupervisor.name(), id :: DistributedSupervisor.id(), pids :: [pid()] ) :: :ok