Ui_time_sourcemodule Incr = Ui_incrmodule Effect = Ui_effectval create : start:Core.Time_ns.t -> tCreates a new clock starting at the specified time.
val incr_clock : t -> Incr.Clock.tPulls out the Incremental clock within the Bonsai clock. You should avoid this function if possible; if the interface in this module does not have an incremental function you need, then we can add it.
val advance_clock_by : t -> Core.Time_ns.Span.t -> unitMoves the current time forward by a time span; any alarms are enqueued instead of triggered.
val advance_clock : t -> to_:Core.Time_ns.t -> unitMoves the current time forward to a specific instant; any alarms are enqueued instead of triggered.
val now : t -> Core.Time_ns.tThe current time.
val watch_now : t -> Core.Time_ns.t Incr.tAn incremental view on the current time.
val at_intervals : t -> Core.Time_ns.Span.t -> unit Incr.tA unit value that will trigger every specified time span.
val at : t -> Core.Time_ns.t -> Incr.Before_or_after.t Incr.tAn value that switches from Before to After at the specified instant.
val until : t -> Core.Time_ns.t -> unit Effect.tAn effect that waits to complete until the clock reaches the specified instant.
val sleep : t -> Core.Time_ns.Span.t -> unit Effect.tAn effect that waits to complete until the clock advances by the specified time span.
An effect that waits to complete until after the next before_display lifecycle is run.
An effect that waits to complete until after the next after_display lifecycle is run.
module Private : sig ... end