package async_kernel

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Synchronous_time_source.T1Source

Sourcemodule Event : sig ... end
Sourcemodule Job_or_event : sig ... end
Sourcetype -'rw t = {
  1. id : Async_kernel__.Types.Time_source_id.t;
  2. mutable advance_errors : Core.Error.t list;
  3. mutable am_advancing : bool;
  4. events : Job_or_event.t Timing_wheel.t;
  5. mutable fired_events : Event.Option.t;
  6. mutable most_recently_fired : Event.Option.t;
  7. handle_fired : Job_or_event.t Timing_wheel.Alarm.t -> unit;
  8. is_wall_clock : bool;
  9. scheduler : Async_kernel__.Types.Scheduler.t;
}
Sourceval scheduler : 'a t -> Async_kernel__.Types.Scheduler.t
Sourceval is_wall_clock : 'a t -> bool
Sourceval handle_fired : 'a t -> Job_or_event.t Timing_wheel.Alarm.t -> unit
Sourceval most_recently_fired : 'a t -> Event.Option.t
Sourceval set_most_recently_fired : 'a t -> Event.Option.t -> unit
Sourceval fired_events : 'a t -> Event.Option.t
Sourceval set_fired_events : 'a t -> Event.Option.t -> unit
Sourceval am_advancing : 'a t -> bool
Sourceval set_am_advancing : 'a t -> bool -> unit
Sourceval advance_errors : 'a t -> Core.Error.t list
Sourceval set_advance_errors : 'a t -> Core.Error.t list -> unit
Sourceval id : 'a t -> Async_kernel__.Types.Time_source_id.t
Sourcemodule Fields : sig ... end
Sourceval sexp_of_t : 'a -> 'b t -> Ppx_sexp_conv_lib.Sexp.t
Sourceval timing_wheel_now : 'a t -> Core.Time_ns.t
Sourceval is_in_fired_events : 'a t -> Async_kernel__.Types.Event.t -> bool
Sourceval invariant_with_jobs : job: ((Async_kernel__.Types.Execution_context.t, Obj.t -> unit, Obj.t) Tuple_pool.Slots.t3 Tuple_pool.Pointer.t -> unit) -> 'rw t -> unit
Sourceval invariant : 'a t -> unit
OCaml

Innovation. Community. Security.