Lifecycle events
Implement any of these on a provider:
func (s *Store) OnModuleInit(ctx context.Context) error // connectfunc (s *Store) OnApplicationBootstrap(ctx context.Context) error // start workersfunc (s *Store) OnModuleDestroy(ctx context.Context) error // stop workersfunc (s *Store) BeforeApplicationShutdown(ctx context.Context, sig string) errorfunc (s *Store) OnApplicationShutdown(ctx context.Context, sig string) error // close connectionsStartup goes from modules with no imports up to the root; shutdown goes the other way.