Kevin Grismore
07/31/2022, 5:07 PMwait_for
the other tasks, they are still visualized as happening concurrently, which makes the visual less fun.@task
async def do_something_async():
#do async stuff
@task
def do_something_sync():
#do sync stuff
@flow
async def sync_async_mix():
await do_something_async()
do_something_sync(wait_for=[do_something_sync])
my flow will crash, so this definitely isn't the way to goAnna Geller
07/31/2022, 5:59 PM@task
async def do_something_async():
#do async stuff
@task
def do_something_sync():
#do sync stuff
@flow
async def sync_async_mix():
xxx = await do_something_async()
do_something_sync(wait_for=[xxx])