code: def sleep(self, delay):
          
          d = Deferred()
          self._get_loop().callLater(delay, d.callback, None)
          return d
docs: Inline sleep for use in co-routines.
  
          :param delay: Time to sleep in seconds.
          :type delay: float