I'm wondering if anyone has thoughts on writing a flow with a combination of sync and async tasks. or perhaps a flow of flows, with some sync and some async?
I currently have a flow where the first task needs to be async because it's calling coroutines in another async framework, but I'd like the following tasks to not be async - especially because if I define all the tasks as async, even though I can ask them to
wait_for
the other tasks, they are still visualized as happening concurrently, which makes the visual less fun.
my flow will crash, so this definitely isn't the way to go
Kevin Grismore
07/31/2022, 5:10 PM
I am new to async so I'm probably doing something dumb here
Kevin Grismore
07/31/2022, 5:18 PM
Maybe to write the question more succinctly, is it the case that any flow with an async task must have all async tasks, and therefore the visualization of the flow is going to represent all tasks as happening concurrently as children of the flow?
a
Anna Geller
07/31/2022, 5:59 PM
quick answer: you can mix sync and async tasks in a flow, but afaik you can't mix sync and async flows
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.