Alykhan Tejani
03/18/2024, 6:53 PM@dynamic
def poll_and_launch():
start = time()
while time() - start > 200:
if new_file_exists():
launch_other_task(some_file_Dependent_stuff)
The launch_other_task
tasks dont get launched until after 200s (i.e. the poll_and_launch
task has exited)