As it's stated in the upgrade guide, Effects
is being replaced by this new Applicative Functor-like thing Cmd
. I don't see any trace of a clue as to where Effects.tick
might be hiding, or how it could be reimplemented.
From the looks of things, Process.sleep
might be the right answer, something like
Task.perform errorHandler (\x -> x) <| Process.sleep
<| 500 * Time.millisecond
would allow the process to wait 500 milliseconds before issuing the next message / action. I'm just not sure if this is what will replace Effects.tick in the long run though.