Hello,
I am having a hard time trying to find a sleep(seconds)
function similar to setTimeout(ms, callback)
in JS or time.sleep(ms)
in Python. So far, the most similar workaround I’ve found is to use the http
module, that allows for a timeout when doing requests.
Does actually something like this exist in Elm? Can this be adapted to the way the Elm architecture works?
Thanks in advance!
PS: I’m willing to do a port of the typed.js module in Elm, however I don’t get the clue of how to update one letter at a time + making Elm to wait to simulate the animation)