View Source Islands.Board.Cache.Server (Islands Board Cache v0.1.36)
Process that generates a list of boards and caches it for expedient access.
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Spawns a cache server process registered with the module name.
Types
@type state() :: [Islands.Board.t()]
Server state
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.
@spec start_link(term()) :: GenServer.on_start()
Spawns a cache server process registered with the module name.