Allows to register `shards_sup` with custom name (given as parameter)
cabol opened this issue · comments
Carlos Andres Bolaños R.A. commented
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()}
.