I'd recommend asking the Elixir community about this as I didn't even understand your question.
I am by no means a professional with Erlang/Elixir. I threw it out there because these language force you to think differently compared to common OOP languages.