Skip to content

feat request: sync analog of asyncio.gather #1899

Open
@RomanMIzulin

Description

@RomanMIzulin

Feature request

Future containers are cool, but is not possible to concurrently execute them from sync context.

Like this

@future_safe
async def f()->Any:
  ...
@future_safe
async def g()->Any:
  ...

results = sync.gather(*[f(),g()])

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions