async def foo(x): await x yield x return x async def bar(x): await x yield x return