Baz.Settings.SettingsStore (baz v0.0.17)

Link to this section Summary

Link to this section Types

Link to this type

all_result()

@type all_result() :: [{key(), value()}]
Link to this type

find_result()

@type find_result() :: {:ok, value()} | {:error, :not_found}
@type key() :: atom()
@type store_id() :: atom()
@type value() :: term()

Link to this section Functions

Link to this function

all(store_id \\ :default)

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

find(key, store_id \\ :default)

Link to this function

process_name(store_id)

@spec process_name(store_id()) :: atom()
Link to this function

put(key, value, store_id \\ :default)

Link to this function

start_link(args)

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