Mayfly.Loop (Mayfly v0.1.0)

View Source

GenServer that handles the AWS Lambda event loop. Continuously polls for new invocations and processes them.

Summary

Functions

Returns a specification to start this module under a supervisor.

Handles the main event loop for processing Lambda invocations.

Initializes the GenServer and triggers the first loop iteration.

Starts the Lambda event loop GenServer.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_info(msg, state)

Handles the main event loop for processing Lambda invocations.

init(state)

Initializes the GenServer and triggers the first loop iteration.

start_link(state)

Starts the Lambda event loop GenServer.