Wait_for_downstream working

Hi Astro community,

I have a question about wait_for_downstream that I’d really appreciate your help on.

How does wait_for_downstream works? Does it only wait for the child task(to complete) of previous instance of same task or the entire downstream?

Thank you