Mayfly.Supervisor (Mayfly v0.1.0)
View SourceSupervisor for the Mayfly application.
This module defines the supervision tree for the Lambda runtime, managing the lifecycle of the Lambda event loop.
Summary
Functions
Returns a specification to start this module under a supervisor.
Initializes the supervisor with the Lambda event loop as its child.
Starts the supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec init(:ok) :: {:ok, {Supervisor.sup_flags(), [Supervisor.child_spec()]}}
Initializes the supervisor with the Lambda event loop as its child.
Starts the supervisor.