Yes, it works 
<https://gist.github.com/nikoudel/6affe7af91b84bddc3f09a40b4bf0d85>, thanks 
for the tip.

Didn't figure out to search for it under Process because I somehow expected 
that module to contain process-related stuff (which it does too - spawn, 
kill). Also "sleep" as a name for such a function doesn't feel right 
because traditionally sleep blocks current thread which Elm's Process.sleep 
doesn't do but returns a Task instead.

On Tuesday, August 2, 2016 at 12:28:41 AM UTC+3, Max Goldstein wrote:
>
> Process.sleep (1*Time.second)
>
> Then use Task.andThen to perform your task. 
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to