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

Method Priorities

job_list_params.go:392–397  ·  view source on GitHub ↗

Priorities returns an updated filter set that will only return jobs with the given priorities.

(priorities ...int16)

Source from the content-addressed store, hash-verified

390// Priorities returns an updated filter set that will only return jobs with the
391// given priorities.
392func (p *JobListParams) Priorities(priorities ...int16) *JobListParams {
393 paramsCopy := p.copy()
394 paramsCopy.priorities = make([]int16, len(priorities))
395 copy(paramsCopy.priorities, priorities)
396 return paramsCopy
397}
398
399// Queues returns an updated filter set that will only return jobs from the
400// given queues.

Callers 4

Test_Client_JobListFunction · 0.45
ExerciseClientFunction · 0.45

Calls 1

copyMethod · 0.95

Tested by 4

Test_Client_JobListFunction · 0.36
ExerciseClientFunction · 0.36