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

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

Returns a specification to start this module under a supervisor.

See Supervisor.

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

Callback implementation for GenServer.init/1.

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