CandleClock.Worker (candle_clock v1.0.0) View Source

Waits until timers expire and calls them.

Add this module to your supervisor-tree once.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Refreshes the internal timer until the next invocation for the current node.

Starts the CandleClock worker.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Refreshes the internal timer until the next invocation for the current node.

Link to this function

set_next_expiry(expires_at)

View Source

Starts the CandleClock worker.