pub async fn purge_targets(
targets: &[CacheTarget],
) -> Result<Vec<PurgeOutcome>, (Vec<PurgeOutcome>, CacheError)>Expand description
Purges each target in turn.
On failure, returns what succeeded before it alongside the error, so the caller can report both – a half-completed purge is worth knowing about.