Skip to main content

hand_over

Function hand_over 

Source
pub fn hand_over(store: &Questions, q: &mut Question)
Expand description

Record that the agent has read everything so far, so the daemon waiter does not resume a session to tell it what was already printed.

Callers must invoke this only after the word reached the agent’s stdout: marking first would let a tool timeout kill the process between the mark and the print, and the waiter would then consider a word delivered that no agent ever saw.