LiveDebugger.Utils.Callbacks (LiveDebugger v0.1.5)
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 all function name callbacks for 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 all function name callbacks for LiveViews.
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.
@spec live_component_callbacks() :: [{atom(), non_neg_integer()}]
Generates a list of all function name callbacks for LiveComponents.
Generates a list of callbacks for LiveComponents in form of {module, callback, arity}. Accepts a single module or a list of modules.
@spec live_view_callbacks() :: [{atom(), non_neg_integer()}]
Generates a list of all function name callbacks for LiveViews.
Generates a list of callbacks for LiveViews in form of {module, callback, arity}. Accept a single module or a list of modules.