Phoenix.PubSub.GC
A garbage collector process that cleans up the table used
by Phoenix.PubSub.Local
.
Summary
Functions
Force table clean up because the given pid is down asynchronously
Starts the server
Removes subscriber’s subscription for topic
Functions
Force table clean up because the given pid is down asynchronously.
gc_server
- The registered server name or pidpid
- The subscriber pid
Examples
iex> down(:gc_server, self)
:ok
Starts the server.
server_name
- The name to register the server undertable_name
- The name of the local table