schedule_iter

Function schedule_iter 

Source
pub async fn schedule_iter<'a>(
    course: Course,
    semester: Semester,
) -> Result<impl TryStream<Ok = Result<ClassSchedule, ParseError>, Error = SessionError> + 'a, ScheduleError>
Expand description

Iterator over each page of the specified query.

If there is no course to career mapping for the specified course, this function will return ScheduleError::FailedToInferCareer. In that case, consider manually specifying the career via schedule_iter_with_career, and sending a PR to add the inference.