pub fn collect_finished_child<M>( children: GroupOfChildren<M>, ) -> Option<(GroupOfChildren<M>, Option<(Option<(Option<Output>, ChildInfo, M)>, Option<Box<dyn Error>>)>)>
Return Some if any child has finished; return None when all children have finished. This does NOT modify [SpawningMode] part of the result [GroupExecutionAndOptOutput].