MCPcopy Index your code
hub / github.com/riverqueue/river / JobState

TypeAlias JobState

rivertype/river_type.go:162–162  ·  view source on GitHub ↗

JobState is the state of a job. Jobs start their lifecycle as either JobStateAvailable or JobStateScheduled, and if all goes well, transition to JobStateCompleted after they're worked.

Source from the content-addressed store, hash-verified

160// JobStateAvailable or JobStateScheduled, and if all goes well, transition to
161// JobStateCompleted after they're worked.
162type JobState string
163
164const (
165 // JobStateAvailable is the state for jobs that are immediately eligible to

Callers 9

TestUniqueOpts_validateFunction · 0.92
JobCountByAllStatesMethod · 0.92
jobRowFromInternalFunction · 0.92
JobCountByAllStatesMethod · 0.92
jobRowFromInternalFunction · 0.92
JobCountByAllStatesMethod · 0.92
jobRowFromInternalFunction · 0.92
TestJobStatesFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected