Runs just after the app initializes. This is useful for things like the cron or websocket service, which creates new work that might rely on other services already being operational.
In most cases you probably want to implement OnAppInit. Most relevant things like eg. The data source service are already operational there, as they implement the BeforeAppInit interface.
Runs just after the app initializes. This is useful for things like the cron or websocket service, which creates new work that might rely on other services already being operational.
In most cases you probably want to implement OnAppInit. Most relevant things like eg. The data source service are already operational there, as they implement the BeforeAppInit interface.