- $chg->load(relative_slot => 'next', slot => $last_slot,
- except_slots => { %seen_slots }, res_cb => $steps->{'loaded'});
+ if ($use_slots) {
+ return $finished_cb->() if @slots == 0;
+ my $slot = shift @slots;
+ $chg->load(slot => $slot,
+ mode => "read",
+ res_cb => $steps->{'loaded'});
+
+ } else {
+ $chg->load(relative_slot => 'next',
+ slot => $last_slot,
+ except_slots => { %seen_slots },
+ res_cb => $steps->{'loaded'});
+ }