1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package bonsai
-
bonsai
-
-
bonsai.bench
-
bonsai.example_chat_open_source_native
-
bonsai.example_chat_open_source_native_common
-
-
bonsai.extra
-
-
bonsai.focus_ring
-
bonsai.protocol
-
bonsai.tailwind_colors
-
bonsai.test
-
bonsai.test.dot
-
bonsai.web_test
-
bonsai.web_ui_common_components
-
bonsai.web_ui_drag_and_drop
-
bonsai.web_ui_element_size_hooks
-
bonsai.web_ui_file
-
bonsai.web_ui_file_from_web_file
-
bonsai.web_ui_form
-
-
bonsai.web_ui_freeform_multiselect
-
bonsai.web_ui_multi_select
-
-
bonsai.web_ui_query_box
-
bonsai.web_ui_reorderable_list
-
bonsai.web_ui_typeahead
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val approx_now : tick_every:Core.Time_ns.Span.t -> Core.Time_ns.t Computation.t
The current time, updated at tick_every
intervals.
val now : Core.Time_ns.t Computation.t
The current time, update as frequently as possible.
module Before_or_after : sig ... end
val at : Core.Time_ns.t Value.t -> Before_or_after.t Computation.t
Mirrors Incr.Clock.at
, which changes from Before
to After
at the specified time.
val every :
Core.Source_code_position.t ->
Core.Time_ns.Span.t ->
unit Effect.t Value.t ->
unit Computation.t
An event passed to every
is scheduled on an interval determined by the time-span argument.
val get_current_time : Core.Time_ns.t Effect.t Computation.t
An effect for fetching the current time.