cljs.repl.browser/run-in-order

functionsince v0.0-927Edit
(run-in-order {:keys [expecting fns]})

Source code @ clojurescript:src/main/clojure/cljs/repl/browser.clj
(defn run-in-order [{:keys [expecting fns]}]
  (loop [order expecting fns fns]
    (if-let [f (get fns order)]
      (do
        (f)
        (recur (inc order) (dissoc fns order)))
      {:expecting order :fns fns})))