View Source Lightning.Runs.Queue (Lightning v2.10.4)

Allows adding, removing or claiming work to be executed by the Runtime.

Summary

Functions

Link to this function

claim(demand, base_query)

View Source
@spec claim(non_neg_integer(), Ecto.Query.t()) ::
  {:ok, [Lightning.Run.t()]} | {:error, Ecto.Changeset.t(Lightning.Run.t())}