View Source Islands.Board.Cache.Server (Islands Board Cache v0.1.27)

Process that generates a list of boards and caches it for expedient access.

Link to this section Summary

Types

Server state

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.

Link to this section Types

Specs

state() :: [Islands.Board.t()]

Server state

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

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

Callback implementation for GenServer.init/1.

Specs

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

Spawns a cache server process registered with the module name.