Piazza.GracefulShutdown (piazza_core v0.3.2) View Source

Genserver to handle graceful shutdowns of an application. Configure with:

config :piazza_core,
  shutdown_delay: delay_in_ms

And placd it at the beginning of you application supervision tree.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.