Alexjok
01/28/2019, 7:56 AMoverride suspend fun save(something: Something) = withContext(Dispatchers.Default) {
doWork()
}
in the interface?gildor
01/28/2019, 7:58 AMinterface Savable {
suspend fun save(something: Something)
}Alexjok
01/28/2019, 8:08 AMsave method in jpa model returns the saved object. I need a cup of coffee 🙂gildor
01/28/2019, 8:10 AM