Bonsai_private_base.Timerval create : start_timer:('a -> 'timer) -> stop_timer:('timer -> unit) -> 'a tval string_of_event : event -> stringval timer : unit -> event_timerA timer to be used throughout Bonsai's internals. Since it needs to be used in user-facing functions (e.g. Bonsai.delay/Bonsai.handle_for_lazy), it can't be passed around as an argument, and since it depends on the instrumentation config's timer functions, it can't just be a constant. We store it instead in mutable state, with the expectation that this state is only ever set once, right before graph application.
val set_timer : timer:event_timer -> unit