sellmair / evas

Modern, high performance, tiny EventBus and State Container in Kotlin
MIT License
132 stars 1 forks source link

Process Death discussion #11

Closed pablichjenkov closed 5 days ago

pablichjenkov commented 1 week ago

Does the library support Process Death 💀? If the App process gets killed by the system and the App is relaunched, does the state recover automatically to the same value it had before the process was killed? Or persisting relevant process death recovery data is left to the developer according to the App business logic.

sellmair commented 5 days ago

This library has no opinions on how to handle process death: My take: Handle it in any way you prefer: Store the relevant data and restore ist at the correct lifecycle methods!

pablichjenkov commented 5 days ago

Got it