Roger.ShutdownHandler (roger v4.0.1)

Copy Markdown View Source

This module handles correctly shutting down the workers. By first stop consuming new jobs and then wait for certain time for workers to finish.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(list)

Callback implementation for GenServer.init/1.

start_link(list)