We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time
Joyride doesn't come with the time macro. nbb has this:
(defmacro time "Async version of time." [expr] `(let [start# (cljs.core/system-time) ret# ~expr ret# (js/Promise.resolve ret#)] (nbb.core/await (.then ret# (fn [v#] (prn (cljs.core/str "Elapsed time: " (.toFixed (- (cljs.core/system-time) start#) 6) " msecs")) v#)))))
Anyway, @borkdude thinks SCI should have it, so that is probably the best way to fix this.
SCI
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Joyride doesn't come with the
time
macro. nbb has this:Anyway, @borkdude thinks
SCI
should have it, so that is probably the best way to fix this.The text was updated successfully, but these errors were encountered: