Waiting for a background step to complete


While this may not be the intended usage of background: true, I’ve been using it to interleave network bound tasks with CPU bound ones - effectively running steps in parallel.

This works, but if the non background steps complete before the background step does, the background step is killed.

Is there a way to block until all background steps terminate?