Job is the generic interface object representing the data being pushed to the jobs queue and being passed to the workers.
| 8 | // Job is the generic interface object representing the data being |
| 9 | // pushed to the jobs queue and being passed to the workers. |
| 10 | type Job interface{} |
| 11 | |
| 12 | // Logic is the implementation of the logic each worker will execute. |
| 13 | type Logic func(arg Job) |