Copyright © 2009-2020 Marc Worrell
Behaviours: gen_server.
Authors: Marc Worrell (marc@worrell.nl).
code_change/3 | Convert process state when code is changed. |
debug_stream/3 | Stream specific debug information to an area on the current page. |
handle_call/3 | Trap unknown calls. |
handle_cast/2 | |
handle_info/2 | Handling all non call/cast messages. |
init/1 | Initiates the server. |
make/1 | |
observe_admin_menu/3 | |
observe_debug_stream/2 | Stream all debug information of a certain kind to the target id on the user agent. |
observe_filewatcher/2 | Catch filewatcher file change events, reloads css or the open pages. |
observe_request_context/3 | |
page_debug_stream/3 | Process started and linked to the current page, subscribes to debug notifications. |
page_debug_stream_loop/3 | |
pid_observe_development_make/3 | |
pid_observe_development_reload/3 | |
reload/1 | |
start_link/1 | Starts the server. |
terminate/2 | This function is called by a gen_server when it is about to terminate. |
code_change(OldVsn, State, Extra) -> {ok, NewState}
Convert process state when code is changed
debug_stream(TargetId, What, Context) -> any()
Stream specific debug information to an area on the current page.
handle_call(Message::Request, From, State) -> {reply, Reply, State} | {reply, Reply, State, Timeout} | {noreply, State} | {noreply, State, Timeout} | {stop, Reason, Reply, State} | {stop, Reason, State}
Trap unknown calls
handle_cast(Message::Msg, State) -> {noreply, State} | {noreply, State, Timeout} | {stop, Reason, State}
handle_info(Info, State) -> {noreply, State} | {noreply, State, Timeout} | {stop, Reason, State}
Handling all non call/cast messages
init(Args) -> {ok, State} | {ok, State, Timeout} | ignore | {stop, Reason}
Initiates the server.
make(Context) -> any()
observe_admin_menu(Admin_menu, Acc, Context) -> any()
observe_debug_stream(Debug_stream, Context) -> any()
Stream all debug information of a certain kind to the target id on the user agent.
observe_filewatcher(Filewatcher, Context) -> any()
Catch filewatcher file change events, reloads css or the open pages.
observe_request_context(Request_context, Context, X3) -> any()
page_debug_stream(TargetId, What, Context) -> any()
Process started and linked to the current page, subscribes to debug notifications
page_debug_stream_loop(TargetId, What, Context) -> any()
pid_observe_development_make(Pid, X2, Context) -> any()
pid_observe_development_reload(Pid, X2, Context) -> any()
reload(Context) -> any()
start_link(Args) -> {ok, Pid} | ignore | {error, Error}
Starts the server
terminate(Reason, State) -> void()
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.
Generated by EDoc