pub fn swap_leases<T: Config>(id: TaskId, other: TaskId)Expand description
Swap the leases of two tasks.
Every lease held by task id is reassigned to task other and vice versa.
origin: Must be Root or passAdminOrigin.id: The first task whose leases should be swapped.other: The second task whose leases should be swapped.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::swap_leases.