title: Asynchronous delay in Lua? (like JavaScript setTimeout)
body: <p>I need to asynchronously delay execution of a function in Lua by X milliseconds. Can this be done? </p>
  
  <p>Given a simple JavaScript example:</p>
  
  <pre><code>setTimeout(function() {
      alert('Hello world!');
  }, 5000);
  </code></pre>
  
  <p>What's the Lua equivalent? Coroutines look like they may help, but I'm not sure.</p>