Skip to main content

tell_when_registered

Function tell_when_registered 

Source
pub async fn tell_when_registered(block_id: &str, text: &str) -> bool
Expand description

Tell the agent of block_id something as a system note (it starts a turn), once it has registered: a pane srv just restarted has no process yet, so this waits up to NUDGE_PENDING_MS for it instead of dropping the note. false when the agent didn’t start in time or the note didn’t go.