def sleep(dt):
fut = Future('<STR_LIT>' % dt)<EOL>eventloop.queue_call(dt, fut.set_result, None)<EOL>return fut<EOL>
Public function to sleep some time.

    Example:
      yield tasklets.sleep(0.5)  # Sleep for half a sec.