package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bonsai-v0.14.0.tar.gz
sha256=43f35d648644492d776bf2c7b86c8227e7793615b6a658432e95f8dccd3631f8
md5=b5e743dbfa64d0da5fd660f14cd0b549

doc/bonsai.mdx/Bonsai_mdx/Bonsai/Incr/Clock/index.html

Module Incr.Clock

val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val default_timing_wheel_config : Timing_wheel.Config.t
val create : ?timing_wheel_config:Timing_wheel.Config.t -> start:Core_kernel.Int63.t -> unit -> t
val alarm_precision : t -> Core_kernel.Time_ns.Span.t
val timing_wheel_length : t -> int
val now : t -> Core_kernel.Int63.t
val watch_now : t -> Core_kernel.Int63.t t
val advance_clock : t -> to_:Core_kernel.Int63.t -> unit
val advance_clock_by : t -> Core_kernel.Time_ns.Span.t -> unit
val at_intervals : t -> Core_kernel.Time_ns.Span.t -> unit t
val step_function : t -> init:'a -> (Core_kernel.Int63.t * 'a) list -> 'a t
val incremental_step_function : t -> 'a Step_function.t t -> 'a t
val snapshot : t -> 'a t -> at:Core_kernel.Int63.t -> before:'a -> 'a t Core_kernel.Or_error.t