In many apps you need to initialize the application from reading data from here and there (http, storage etc) and keep a global state. That single use “data loader” service is run once.
Ideally the resources (i.e. memory) it occupies should be removed. This might have a simple answer but I want to learn the correct way.
Thank you in advance…
3 posts - 2 participants