pub async fn close(
queue: &Queue,
home: &Path,
reference: &str,
actor: CompletionActor,
reason: Option<String>,
discard: bool,
) -> Result<Task>Expand description
Mark an idle task done with one immutable completion occurrence. Already-done requests are idempotent and never create another notice.