How to Find Modules and Functions of a Dependency in Elixir

179
clicks
How to Find Modules and Functions of a Dependency in Elixir

Source: elixirstreams.com

Type: Video

The article explains how to use Elixir's introspection capabilities to find out a dependency’s modules and functions at runtime. It provides a step-by-step guide using `:application.get_key/2` to list all modules in a dependency and `Module.__info__/1` to retrieve the functions of a specific module, using Phoenix LiveView as an example.

© HashMerge 2024