code: async def list(source):
      
      result = []
      async with streamcontext(source) as streamer:
          async for item in streamer:
              result.append(item)
      yield result
docs: Generate a single list from an asynchronous sequence.