Elixir Sleep / Wait for 1 Second
<p>How to sleep / wait for one second?</p>

<p>Best I could find was something like this (in iex):</p>

<pre><code>IO.puts "foo" ; :timer.sleep(1); IO.puts "bar"
</code></pre>

<p>But both of my puts happen with no delay.</p>