Skip to content

what about asyncio.gather? #69

@wedobetter

Description

@wedobetter

Unless I am doing something wrong, it wont work with that.
My code looks like this:

async def fetch(something):
    await get(something)

async with limiter:
  await asyncio.gather(*[fetch(t) for t in range(100)])

Can you provide an example?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions