Open lkarthee opened 1 year ago
I am using a dynamic supervisor to spawn goth instances. The Goth instances are synced with db using a GenServer.
I felt an exists?/1 function to be missing.
exists?/1
def exists?(name) do case Registry.lookup(@registry, name) do [{_pid, _}] -> true _ -> false end end
What are you thoughts on this - Can a PR be sent for this ?
I am using a dynamic supervisor to spawn goth instances. The Goth instances are synced with db using a GenServer.
I felt an
exists?/1
function to be missing.What are you thoughts on this - Can a PR be sent for this ?