munreg/2

reg/1

reg/2

set_value/2

set_value(Key, Value) -> any()

start_link/0

start_link() -> any()

start_link/1

start_link(Nodes) -> any()

surrendered/3

surrendered(S, X2, E) -> any()

sync/0

sync() -> true

Synchronize with the gproc leader

This function can be used to ensure that data has been replicated from the
leader to the current node. It does so by asking the leader to ping all
live participating nodes. The call will return true when all these nodes
have either responded or died. In the special case where the leader dies
during an ongoing sync, the call will fail with a timeout exception.
(Actually, it should be a leader_died exception; more study needed to find
out why gen_leader times out in this situation, rather than reporting that
the leader died.)