Upstream v2.1.4 Upstream.Job.State View Source
Handles Querying and Manipulating of Job States
Link to this section Summary
Link to this section Functions
Link to this function
complete(job, result)
View Source
complete(Upstream.Job.t(), any()) :: :error | :ok
Link to this function
get_result(job, timeout \\ 5000)
View Source
get_result(Upstream.Job.t(), :infinity | non_neg_integer()) :: any()
Link to this function
start(job)
View Source
start(Upstream.Job.t()) :: {:error, :already_exists} | {:ok, any()}