Module ebus_ps_gc

This is an Erlang clone of the original Phoenix.PubSub.GC module.

Behaviours: gen_server.

References

Description

This is an Erlang clone of the original Phoenix.PubSub.GC module. Copyright (c) 2014 Chris McCord

Function Index

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.

Function Details

down/2

down(GCServer::atom(), Pid::pid()) -> ok

Force table clean up because the given pid is down asynchronously.

Examples:

  > down(gc_server, self()).
  ok

start_link/2

start_link(ServerName::atom(), LocalName::atom()) -> gen:start_ret()

Starts the server.

unsubscribe/4

unsubscribe(Pid::pid(), Topic::binary(), TopicsTable::atom(), PidsTable::atom()) -> ok

Removes subscriber's subscription for topic


Generated by EDoc