This module has been deprecated.
Instead of defcallback
, one can simply use @callback
. Instead of defmacrocallback
, one can simply use @macrocallback
. Instead of __behaviour__(:callbacks)
, one can simply use behaviour_info(:callbacks)
.
Defines a function callback according to the given type specification
Defines a macro callback according to the given type specification
Defines a function callback according to the given type specification.
Defines a macro callback according to the given type specification.
© 2012–2017 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.3.3/Behaviour.html