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

Method Next

periodic_job.go:18–18  ·  view source on GitHub ↗

Next returns the next time at which the job should be run given the current time.

(current time.Time)

Source from the content-addressed store, hash-verified

16 // Next returns the next time at which the job should be run given the
17 // current time.
18 Next(current time.Time) time.Time
19}
20
21// PeriodicJobConstructor is a function that gets called each time the paired

Implementers 6

neverScheduleperiodic_job.go
runOnceScheduleclient_test.go
iteratorForJobInsertFastManyCopyFromriverdriver/riverpgxv5/internal/dbsqlc
DefaultReindexerScheduleinternal/maintenance/reindexer.go
SharedTxRowsinternal/riverinternaltest/sharedtx/sh

Calls

no outgoing calls

Tested by 3

TestNeverScheduleFunction · 0.52
TestReindexerFunction · 0.52