cancel

open fun cancel(run: Run): Run

Cancels the given run that is RunStatus.IN_PROGRESS.

Return

The updated run

Parameters

run

The run to cancel


abstract fun cancel(id: String): Run

Cancels the run with the given id that is RunStatus.IN_PROGRESS.

Return

The updated run

Parameters

id

The id of the run to cancel