Method decorator: mark a method as the handler for a job name.
Use it on the methods of a class also decorated with @JobHandler() (which registers the class as
a service and marks it for scanning). One class can handle several jobs, one method each. The
method receives (payload, job) like any handler.
Method decorator: mark a method as the handler for a job name.
Use it on the methods of a class also decorated with
@JobHandler()(which registers the class as a service and marks it for scanning). One class can handle several jobs, one method each. The method receives(payload, job)like any handler.