invoke

suspend fun invoke(planId: UUID): Plan

Invokes the cancel plan use case.

Return

The canceled plan.

Parameters

planId

The ID of the plan to cancel.

Throws

If unable to acquire a lock for the plan.