cabol / shards

Partitioned ETS tables for Erlang and Elixir

Home Page:https://hexdocs.pm/shards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allows to register `shards_sup` with custom name (given as parameter)

cabol opened this issue · comments

Currently, shards is tied to shards_sup and it's registered with the same module name (shards_sup). The idea is to allow to pass the supervisor name as parameter, and for shards:new/2 define another option {sup_name, atom()}.