z_proc (zotonic_core v1.0.0-rc.11)

Process registry interface for a site.

Link to this section Summary

Functions

Register a Pid under Name. Name can be any erlang term.
Unregister a process
Lookup the pid of the process.

Link to this section Functions

Link to this function

register(Name, Pid, Site)

Register a Pid under Name. Name can be any erlang term.
Link to this function

register_name(Name, Pid)

Link to this function

send(Name, Msg)

Link to this function

unregister(Name, Site)

Unregister a process
Link to this function

unregister_name(Name)

Link to this function

whereis(Name, Site)

-spec whereis(term(), atom() | z:context()) -> undefined | pid().
Lookup the pid of the process.
Link to this function

whereis_name(Name)