# File lib/hammer_cli_import/asynctasksreactor.rb, line 79 def wait_for(uuids, &block) info "Waiting for uuids (non async): #{uuids.inspect}." n = 1 loop do annotated = annotate_tasks uuids break if annotated.all? { |_, v| v[:finished] } sleep n n = [n + 1, 10].min end block.call end