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

Function JobListCursorFromJob

job_list_params.go:28–31  ·  view source on GitHub ↗

JobListCursorFromJob creates a JobListCursor from a JobRow.

(job *rivertype.JobRow)

Source from the content-addressed store, hash-verified

26
27// JobListCursorFromJob creates a JobListCursor from a JobRow.
28func JobListCursorFromJob(job *rivertype.JobRow) *JobListCursor {
29 // Other fields are initialized when the cursor is used in After below.
30 return &JobListCursor{job: job}
31}
32
33func jobListCursorFromJobAndParams(job *rivertype.JobRow, listParams *JobListParams) *JobListCursor {
34 // A pointer so that we can detect a condition where we accidentally left

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…