z_edge_log_server (zotonic_core v1.0.0-rc.11)

Check for changed edges, trigger notifications.

Link to this section Summary

Functions

Force a check, useful after known edge operations.
Convert process state when code is changed
Handling all non call/cast messages
Initiates the server.
Do an edge log check.
Starts the server
This function is called by a gen_server when it is about to terminate. It should be the opposite of Module:init/1 and do any necessary cleaning up. When it returns, the gen_server terminates with Reason. The return value is ignored.

Link to this section Functions

Force a check, useful after known edge operations.
Link to this function

code_change(OldVsn, State, Extra)

Convert process state when code is changed
Link to this function

delete_if_unconnected(Id, Context)

Link to this function

handle_call(Message, From, State)

Trap unknown calls
Link to this function

handle_cast(Message, State)

Link to this function

handle_info(Info, State)

Handling all non call/cast messages
Initiates the server.
Link to this function

observe_check_edge_log(_, Context)

Do an edge log check.
Link to this function

start_link(Site)

-spec start_link(atom()) -> {ok, pid()} | ignore | {error, term()}.
Starts the server
Link to this function

terminate(Reason, State)

This function is called by a gen_server when it is about to terminate. It should be the opposite of Module:init/1 and do any necessary cleaning up. When it returns, the gen_server terminates with Reason. The return value is ignored.