bodil / purescript-signal

Elm style FRP library for PureScript
Apache License 2.0
258 stars 44 forks source link

"now" won't return current Unix time if perf presented #69

Open chekoopa opened 5 years ago

chekoopa commented 5 years ago

I've tried using Signal.Time.every in a Elm-like fashion (sending messages with a Unix timestamp applied), but instead it returns time from the session (kinda) start, because it relies on performance and process, using Date.now as a fallback only.

The closest workaround is copying everyP and re-implementing now in own foreign module.

But either or both: