Skip to main content

post

Function post 

Source
pub fn post(
    queue: &Queue,
    talks: &Talks,
    home: &Path,
    task_id: &str,
    q: &Question,
) -> Result<String>
Expand description

Reserve the destination under the task lock, then deliver without it. A stable creation id and persisted link let retries recover interrupted delivery. Never wait for a talk lock while holding the task write lock: chat decisions can hold the talk answer guard while updating this same task.