Phoenix.PubSub.GC
module.
Behaviours: gen_server.
References
Phoenix.PubSub.GC
module.
Copyright (c) 2014 Chris McCord
down/2 | Force table clean up because the given pid is down asynchronously. |
start_link/2 | Starts the server. |
unsubscribe/4 | Removes subscriber's subscription for topic. |
down(GCServer::atom(), Pid::pid()) -> ok
Force table clean up because the given pid is down asynchronously.
GCServer
: The registered server name or pid.Pid
: The subscriber pid.Examples:
> down(gc_server, self()). ok
start_link(ServerName::atom(), LocalName::atom()) -> gen:start_ret()
Starts the server.
ServerName
: The name to register the server under.LocalName
: The name of the local table.unsubscribe(Pid::pid(), Topic::binary(), TopicsTable::atom(), PidsTable::atom()) -> ok
Removes subscriber's subscription for topic
Generated by EDoc