pub fn batch_archive_tasks(
active: &mut QueueFile,
done: &mut QueueFile,
task_ids: &[String],
now_rfc3339: &str,
continue_on_error: bool,
) -> Result<BatchOperationResult>Expand description
Batch archive terminal tasks (Done/Rejected) from active queue to done.
§Arguments
active- The active queue file to modifydone- The done archive file to append totask_ids- List of task IDs to archivenow_rfc3339- Current timestamp for updated_at/completed_atcontinue_on_error- If true, continue processing on individual failures
§Returns
A BatchOperationResult with details of successes and failures.