Skip to main content

cancel

Function cancel 

Source
pub async fn cancel(
    registry: &RegistryClient,
    allocation_id: &ContractId<Allocation>,
) -> Result<TokenCommand>
Expand description

Build the exercise that cancels an allocation.

The executor’s move, when the settlement will not happen.

§Errors

As any registry call.