Mnemonics v0.2.1 Mnemonics.Memory View Source

Own an ETS.

Link to this section Summary

Link to this section Types

Link to this type init_args() View Source
init_args() :: [module: atom(), table_name: atom(), version: pos_integer()]
Link to this type t() View Source
t() :: %{tid: :ets.tid(), pid: pid(), module: atom(), table_name: atom(), version: pos_integer()}

Link to this section Functions

Link to this function init(list) View Source
init(init_args()) :: {:ok, t()} | {:stop, :ets.tab() | term()}
Link to this function start_link(_, arg) View Source
start_link(any(), term()) :: GenServer.on_start()