Create a new ServiceBus instance
Socket.IO server options
Socket.IO client configuration options
name of the service bus
ReadonlycomponentComponent identification
Readonlynamename of the service bus
Return the status of the server in a standard format
check object as defined in the draft standard https://datatracker.ietf.org/doc/html/draft-inadarei-api-health-check-05
Return the status of the server
Emitted when a server operation has some problem
Emitted on every state change
Start the underlayer Socket.IO server
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.