View Source template_compiler_admin (template_compiler v2.13.0)

Administrate all compiled templates and compilers in flight.

Link to this section Summary

Link to this section Functions

Link to this function

code_change(FromVersion, State, Extra)

View Source
-spec flush() -> ok.
Flush all template mappings
Link to this function

flush_context_name(ContextName)

View Source
-spec flush_context_name(ContextName :: term()) -> ok.
Ping that a context has changed
-spec flush_file(file:filename_all()) -> ok.
Ping that a template has been changed
Link to this function

handle_call(Msg, From, State)

View Source
Link to this function

lookup(Filename, Options, Context)

View Source
-spec lookup(file:filename_all(), template_compiler:options(), any()) -> {ok, atom()} | {error, term()}.
Find a template, start a compilation if not found
-spec start_link() -> {ok, pid()} | {error, any()}.
Link to this function

terminate(Reason, State)

View Source