Skip to main content

submit

Function submit 

Source
pub fn submit(
    caller: &str,
    job: impl FnOnce() -> Option<String> + Send + 'static,
)
Expand description

Queue job for caller (e.g. ctx_agent:<agent id>). Its line, if any, is shown with the caller’s next answer.