- Innkeeper creates and owns your ETS tables.
- Innkeeper makes them public and named.
- Innkeeper does not do anything else.
Innkeeper wants Elixir v1.18, but is willing to bargain. Venture forth, add Innkeeper to the dependencies:
def deps do
[
{:innkeeper, "~> 0.1.0"},
]
endRun mix deps.get and see what happens.
Once you need an ETS table:
use Innkeeper
ets_table :my_table, read_concurrency: true, write_concurrency: :autoThe table will be provided.