Reactor.Process.Step.RestartChild (reactor_process v0.4.2)

View Source

Restarts a child process identified by child_id.

See Supervisor.restart_child/2 for more information.

Arguments

  • :supervisor - Required. The supervisor to query

  • :child_id (term/0) - Required. The PID or ID of the child to remove

Options

  • :module (module/0) - The module to use. Must export count_children/1 The default value is Supervisor.