Module: Async::Background::Clock
- Included in:
- Queue::Client, Queue::Store, Runner
- Defined in:
- lib/async/background/clock.rb
Overview
Shared clock helpers used across Runner, Queue::Store, and Queue::Client.
monotonic_now — CLOCK_MONOTONIC, for in-process intervals and durations
(immune to NTP drift / wall-clock jumps)
realtime_now — CLOCK_REALTIME, for persisted timestamps (SQLite run_at,
created_at, locked_at) and human-readable metrics