Optional
Readonly
metricsMetrics registry for this component
Perform the task to clean the job registers after the job has been resolved
Job entry identification
Emitted when the component throw an error
Emitted on every status change
Emitted when there is a new job to be managed
A resource is extended component that represent the access to an external/internal resource, besides the error handling and identity, it has a start, stop and close methods to manage the resource lifecycle. It also has a checks property to define the checks that will be performed over the resource to achieve the resulted status. The most typical example of a resource are the Provider that allow to access to external databases, message brokers, etc.