(self, callback=None, *, before_plugins=False)
return self.before_worker_start(callback, before_plugins=before_plugins)
Decorator to register a function to be called before the worker starts up

        Callback will be called with the following arguments:

            callback(self, *, client: "BusClient")
Decorator to register a function to be called before the worker starts up
Decorator to register a function to be called before the worker starts up
def on_start(self, callback=None, *, before_plugins=False):
        """Decorator to register a function to be called before the worker starts up

        Callback will be called with the following arguments:

            callback(self, *, client: "BusClient")
        """
        return self.before_worker_start(callback, before_plugins=before_plugins)
def on_start ( self , callback = None , * , before_plugins = False ) : return self . before_worker_start ( callback , before_plugins = before_plugins )