pilgr / Paper

Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
Apache License 2.0
2.34k stars 234 forks source link

Need a write complete listener. #165

Closed Sourav242 closed 4 years ago

Sourav242 commented 4 years ago

How to know if writting is completed so that it becomes ready to be read? Or need to be wrapped manually with coroutine or work manager?

pilgr commented 4 years ago

All Paper api is synchronous. E.g. as soon as write execution completed without exception the reading can be made.