Skip to main content

nudge_deletion

Function nudge_deletion 

Source
pub fn nudge_deletion<Context>(context: &Context) -> Result<(), StorageError>
where Context: IdentityContext,
Expand description

After anything marks superseded KPs for deletion: ensure the KpDeletion singleton exists (pull-in against a missing target is a no-op), then pull it in to the earliest pending delete_at. No-op when nothing is marked, so it is safe (and idempotent) to call on every dispatch.