Module Bonsai_private_base.Apply_action_context

type ('action, 'response) t
val inject : ('action, 'response) t -> 'action -> 'response Ui_effect.t
val schedule_event : (_, _) t -> unit Ui_effect.t -> unit
val time_source : (_, _) t -> Ui_time_source.t

Receive the time-source for this application. This is most likely useful to:

  • read the current time
  • sleep for some time span
module Private : sig ... end