invoke

suspend fun invoke(request: UpdatePlanRequest): Plan

Invokes the update plan use case.

Return

The updated plan.

Parameters

request

The request to update a plan.

Throws

If unable to acquire a lock for the plan.