MCPcopy Create free account
hub / github.com/riverqueue/river / JobSetStateIfRunningMany

Method JobSetStateIfRunningMany

client_pilot_test.go:87–90  ·  view source on GitHub ↗
(ctx context.Context, exec riverdriver.Executor, params *riverdriver.JobSetStateIfRunningManyParams)

Source from the content-addressed store, hash-verified

85}
86
87func (p *pilotSpy) JobSetStateIfRunningMany(ctx context.Context, exec riverdriver.Executor, params *riverdriver.JobSetStateIfRunningManyParams) ([]*rivertype.JobRow, error) {
88 p.testSignals.JobSetStateIfRunningMany.Signal(struct{}{})
89 return p.StandardPilot.JobSetStateIfRunningMany(ctx, exec, params)
90}
91
92func (p *pilotSpy) PeriodicJobGetAll(ctx context.Context, exec riverdriver.Executor, params *riverpilot.PeriodicJobGetAllParams) ([]*riverpilot.PeriodicJob, error) {
93 p.testSignals.PeriodicJobGetAll.Signal(struct{}{})

Callers

nothing calls this directly

Calls 2

SignalMethod · 0.80

Tested by

no test coverage detected