package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val max_alarm_time_in_min_timing_wheel_interval : [> Core_kernel.read ] T1.t -> Core_kernel.Time_ns.t option

This value is close to next_alarm_fires_at but differs from it by at most alarm_precision. Requires a more expensive iteration of alarms.

This is a closer approximation of the minimum time at which an alarm will fire, but it's still not there (you need min_alarm_time_... for that).

val has_events_to_run : t -> bool

Returns true iff there is work to do without advancing time further. (This can be caused by scheduling events in the past, or starting a recurring event.)

OCaml

Innovation. Community. Security.