View Source Antikythera.GearApplication behaviour (antikythera v0.5.1)
Template for gear application module.
Invoking use Antikythera.GearApplication
generates bunch of code, including (but not limited to)
Application
callbacksLogger
module for the gear- accessors to gear config
All gear implementations must have exactly one module that use
s this module.
For antikythera maintainers:
Note that, when modifying the macros defined in GearApplication
and GearApplication.*
,
we need to re-compile all gears in order to deploy the changes.
Summary
Types
@type child_spec() :: :supervisor.child_spec() | {module(), term()} | module()
Callbacks
@callback children() :: [child_spec()]
@callback executor_pool_for_web_request(Antikythera.Conn.t()) :: Antikythera.ExecutorPool.Id.t()