internal ReadResumeScheduleCommand(EventStoreContext context, Many <long> schedule) { _context = context; _schedule = schedule; _scheduleFirst = schedule.First(); _scheduleLast = schedule.Last(); _readCheckpoint = StreamPosition.End; // There is overhead in piping a resume algorithm from configuration. The default should work until // we experience otherwise. _algorithm = new ResumeAlgorithm(); }