Hangman.Engine.GameRecovery (Hangman Engine v0.1.72)

View Source

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

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(init_arg)

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

Callback implementation for GenServer.init/1.

start_link(init_arg)

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