Interesting project!
We had this problem too but have decided we don't want to lock us to
webpack so much (even though we're currently using it). If you're
interested you can have a look at
http://package.elm-lang.org/packages/GlobalWebIndex/class-namespaces/latest.
Simply we're just generatin
Time.every relies on javascript's setInterval. Do you see the same drift
in Safari/node using setInterval?
If you need more accurate timing, it's possible to attempt that now using a
combination of Time.now and Process.sleep (every time you get a message,
check the timestamp and calculate how lon
I have been using Time.every for a project that requires ticks at a
constant interval. I found that different platforms drift by varying
amounts. Some platforms seem to oscillate around the desired 0 millisecond
drift. This is acceptable for my use case. However some platforms
constantly increa