title: How to use schedule?
body: <p>I've seen quite a few examples of 'schedule' being used like this:</p>
  <pre><code>Timer().schedule(1000) {
      // code to execute after delay
  }
  </code></pre>
  <p>However, when I try to use it like this the function needs me to supply some sort of 'TimerTask' and I haven't seen anything about that.</p>
  <p>So my question is how do you properly use schedule?</p>