Job represents a single unit of work, holding both the arguments and information for a job with args of type T.
| 7 | // Job represents a single unit of work, holding both the arguments and |
| 8 | // information for a job with args of type T. |
| 9 | type Job[T JobArgs] struct { |
| 10 | *rivertype.JobRow |
| 11 | |
| 12 | // Args are the arguments for the job. |
| 13 | Args T |
| 14 | } |
| 15 | |
| 16 | // JobArgs is an interface that represents the arguments for a job of type T. |
| 17 | // These arguments are serialized into JSON and stored in the database. |
nothing calls this directly
no outgoing calls
no test coverage detected