code: async def spaceout(source, interval):
      
      timeout = 0
      loop = asyncio.get_event_loop()
      async with streamcontext(source) as streamer:
          async for item in streamer:
              delta = timeout - loop.time()
              delay = delta if delta > 0 else 0
              await asyncio.sleep(delay)
              yield item
              timeout = loop.time() + interval
docs: Make sure the elements of an asynchronous sequence are separated
      in time by the given interval.