Turns out Sys.time()
doesn’t work for the html5 target. What else could I use?
or js.Browser.window.performance.now()
for high-res time stamp
https://api.haxe.org/js/html/Performance.html
Thanks, I am using Timer.stamp().
Turns out Sys.time()
doesn’t work for the html5 target. What else could I use?
or js.Browser.window.performance.now()
for high-res time stamp
https://api.haxe.org/js/html/Performance.html
Thanks, I am using Timer.stamp().
© 2018-2020 Haxe Foundation - Powered by Discourse