pub fn submit( caller: &str, job: impl FnOnce() -> Option<String> + Send + 'static, )
Queue job for caller (e.g. ctx_agent:<agent id>). Its line, if any, is shown with the caller’s next answer.
job
caller
ctx_agent:<agent id>