View Source Hangman.Engine.GameRecovery (Hangman Engine v0.1.48)

Makes processes under the top supervisor fault-tolerant. If any crashes (or is killed), it is immediately restarted and the system remains undisturbed.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

init(term()) :: {:ok, term()}

Callback implementation for GenServer.init/1.

Specs

start_link(term()) :: GenServer.on_start()