Skip to main content

begin

Function begin 

Source
pub fn begin(
    run_id: &str,
    question_id: &str,
    question: &str,
    options: &[String],
    allow_free_text: bool,
) -> Result<UserQuestionV1, AskUserError>
Expand description

Admit one question for run_id before a question fact is appended.

The fourth question in a run is rejected here. An answer is a question.answered fact, not an in-process wait.