Andreas Nord
12/11/2023, 3:16 PMfor i in range(x):
task_a_result = task_a.submit(i)
if task_a_result.result() == "do_task_b":
task_b.submit(task_a_result)
It seems that doing task_a.result() blocks the for loop, is there a way to do this logic concurrently? Or I should have task_b handle different types of results of task_a instead?Dominic Tarro
12/11/2023, 4:09 PMDominic Tarro
12/11/2023, 4:11 PMDominic Tarro
12/11/2023, 4:13 PM