The lifecycle for a service starts with the init method when the service starts. myService.init(config); ... myService.hello(); ... myService.hello(); ... myService.destroy();
init
myService.init(config); ... myService.hello(); ... myService.hello(); ... myService.destroy();