View Source ebus_ps_gc (ebus v0.3.0)
Phoenix.PubSub.GC module. Copyright (c) 2014 Chris McCord
Link to this section Summary
Functions
Force table clean up because the given pid is down asynchronously.
Starts the server.
Removes subscriber's subscription for topic
Link to this section Functions
-spec down(atom(), 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
-spec start_link(atom(), atom()) -> gen_server:start_ret().
Starts the server.
ServerName: The name to register the server under.LocalName: The name of the local table.
-spec unsubscribe(pid(), binary(), atom(), atom()) -> ok.