Skip to main content

next_question

Function next_question 

Source
pub fn next_question(
    state: &ClassificationState,
    lang: Language,
) -> Option<(Question, QuestionStep)>
Expand description

Return the next question to ask (and its step tag), or None when all information has been collected and the pipeline can be invoked.