LiveDebugger.Utils.Callbacks (LiveDebugger v0.1.4)
View SourceThis module provides functions to generate a list of callbacks for LiveViews and LiveComponents.
Summary
Functions
Generates a list of all function name callbacks for LiveViews and LiveComponents.
Generates a list of callbacks for LiveComponents in form of {module, callback, arity}. Accepts a single module or a list of modules.
Generates a list of callbacks for LiveViews in form of {module, callback, arity}. Accept a single module or a list of modules.
Functions
@spec callbacks_functions() :: [atom()]
Generates a list of all function name callbacks for LiveViews and LiveComponents.
Generates a list of callbacks for LiveComponents in form of {module, callback, arity}. Accepts a single module or a list of modules.
Generates a list of callbacks for LiveViews in form of {module, callback, arity}. Accept a single module or a list of modules.