Elixir v1.3.3 Behaviour View Source

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).

Link to this section Summary

Functions

Defines a function callback according to the given type specification

Defines a macro callback according to the given type specification

Link to this section Functions

Link to this macro defcallback(spec) View Source (macro)

Defines a function callback according to the given type specification.

Link to this macro defmacrocallback(spec) View Source (macro)

Defines a macro callback according to the given type specification.