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)

All gear implementations must have exactly one module that uses 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()]
Link to this callback

executor_pool_for_web_request(t)

View Source
@callback executor_pool_for_web_request(Antikythera.Conn.t()) ::
  Antikythera.ExecutorPool.Id.t()