LightningWeb.RunLive.CancelHelper (Lightning v2.19.0-pre)
View SourceShared logic for cancelling individual runs from LiveViews.
Summary
Functions
@spec cancel_run(String.t(), Ecto.UUID.t()) :: {:ok, Lightning.Run.t()} | {:error, :not_found | :not_available | Ecto.Changeset.t()}