3 ms·
Note that it's just the Behaviour module that's deprecated, not the concept of Behaviours. So, `@behaviour` is still there. And the reasoning is that one shoul
by quaunaut 8y ago
Note that it's just the Behaviour module that's deprecated, not the concept of Behaviours. So, `@behaviour` is still there.
And the reasoning is that one should instead be using `@callback` and `@macrocallback` which also are typespec attributes: https://hexdocs.pm/elixir/Module.html#module-typespec-attributes https://hexdocs.pm/elixir/Module.html#module-typespec-attrib...