Fledex.Component.Utils (fledex v0.8.0)

Copy Markdown View Source

Utility functions that are useful when defining components

Summary

Functions

A component will have to name their sub-components and needs to ensure that the names are unique. This function helps to define a name that is composed of the base name (i.e. name of the component), plus the child name (i.e. the name of the sub-component).

Functions

create_name(base, child)

@spec create_name(atom(), atom()) :: atom()

A component will have to name their sub-components and needs to ensure that the names are unique. This function helps to define a name that is composed of the base name (i.e. name of the component), plus the child name (i.e. the name of the sub-component).