You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(** the number of spinners currently spinning *)
val num_active_spinners : int Eliom_shared.React.S.t
(** [onloaded] is an event that fires when all spinners have finished loading.
This can occur multiple times. *)
val onloaded : unit Eliom_shared.React.E.t
(** do an action once no spinners are spinning (could be right away) *)
val when_loaded : (unit -> unit) -> unit
Instead of using these functions, which are not firing when we want them to be firing (e.g. the when_loaded event is used to setup form while it actually wait for every spinner to terminate), add a version of the function returning a unit Lwt.t to signal that content has been loaded.
The text was updated successfully, but these errors were encountered:
sagotch
changed the title
Ot_spinner: replace num_active_spinner, onloaded, and when_loaded with a spinner returning the Lwt thread woke up when loaded.
Ot_spinner: replace num_active_spinner, onloaded, and when_loaded with a spinner returning a Lwt thread waking up when loaded.
Apr 5, 2017
Instead of using these functions, which are not firing when we want them to be firing (e.g. the
when_loaded
event is used to setup form while it actually wait for every spinner to terminate), add a version of the function returning aunit Lwt.t
to signal that content has been loaded.The text was updated successfully, but these errors were encountered: