Official Description: Android Room Kotlin Extensions

CommonsWare’s Notes

This artifact contains Kotlin code specific to Room.

The biggest thing is that this artifact allows you to mark DAO functions as suspend or have them return Flow, to blend in with the rest of your coroutines-based code.

This also contains the withTransaction() extension function for RoomDatabase, which executes a supplied lambda expression in a transaction, with suspend semantics.

See the room-common page for general Room resources.