View Source Dagger.Mod (dagger v0.12.3)
A behaviour for implementing Dagger Module.
Function schema
:args
(keyword/0
) - Required. Arguments of the function.Everything declared in this keyword will pass into the second argument of the function as a
map
.:type
- Required. Type of the argument.The possible values are::boolean
- A boolean type.:integer
- A integer type.:string
- A string type.{:list, type}
- A list oftype
.module
- An Elixir module.
:return
- Required. Functionre bturn type.The possible values are:
:boolean
- A boolean type.:integer
- A integer type.:string
- A string type.{:list, type}
- A list oftype
.module
- An Elixir module.
Summary
Functions
Invoke a function.