Skip to main content

remove

Function remove 

Source
pub fn remove(ctx: &ServiceContext, cap: Cap)
Expand description

Drop a capability from this service’s table.

Authority you no longer need is authority you should not hold. This is also how a table slot is returned after a transfer failed and left the capability with you (CLAUDE.md 8.5).