package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Time_ns : sig ... end
module Alarm : sig ... end
val default_timing_wheel_config : Core_kernel.Timing_wheel_ns.Config.t
type callback = unit -> unit
module T1 : sig ... end
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val invariant : 'a T1.t -> unit
val invariant_with_jobs : job: ((Async_kernel__.Types.Execution_context.t, Obj.t -> unit, Obj.t) Core_kernel.Pool.Slots.t3 Core_kernel.Pool.Pointer.t -> unit) -> 'a T1.t -> unit
module Read_write : sig ... end
val is_wall_clock : 'a T1.t -> bool
val alarm_upper_bound : 'a T1.t -> Core_kernel.Timing_wheel_ns.Time.t
val max_allowed_alarm_time : 'a T1.t -> Core_kernel.Timing_wheel_ns.Time.t
val read_only : [> Core_kernel.read ] T1.t -> t
val fire : 'a T1.t -> T1.Event.t -> unit
val alarm_precision : 'a T1.t -> Core_kernel.Timing_wheel_ns.Time.Span.t
val now : 'a T1.t -> Time_ns.t
val timing_wheel_now : 'a T1.t -> Core_kernel.Timing_wheel_ns.Time.t
val schedule : 'a T1.t -> T1.Event.t -> unit
module Event : sig ... end
val run_after : 'a T1.t -> Time_ns.Span.t -> (unit -> unit) -> unit
val run_at : 'a T1.t -> Time_ns.t -> (unit -> unit) -> unit
val run_at_intervals : 'a T1.t -> Time_ns.Span.t -> (unit -> unit) -> unit
type send_exn = Async_kernel__.Types.Monitor.t -> ?backtrace:[ `Get | `This of Core_kernel.Backtrace.t ] -> exn -> unit
val run_fired_events : 'a T1.t -> send_exn:send_exn option -> unit
val advance_clock : 'a T1.t -> to_:Core_kernel.Timing_wheel_ns.Time.t -> send_exn:send_exn option -> unit
val fire_past_alarms : 'a T1.t -> send_exn:send_exn option -> unit
val advance : 'a T1.t -> to_:Core_kernel.Timing_wheel_ns.Time.t -> send_exn:send_exn option -> unit
val advance_by_alarms : 'a T1.t -> to_:Time_ns.t -> (unit, Core_kernel.Error.t) Core_kernel._result