returns icon indicating copy to clipboard operation
returns copied to clipboard

feat request: sync analog of asyncio.gather

Open RomanMIzulin opened this issue 1 year ago • 1 comments

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()])

RomanMIzulin avatar Aug 05 '24 11:08 RomanMIzulin

In Tg you said something about TaskGroups, it is related? If yes, then how?

RomanMIzulin avatar Aug 09 '24 07:08 RomanMIzulin