How to make a database transaction with Room using functions from differents DAOs and using coroutines?

Viewed 378

I want to make a database transaction with Room using functions from different Daos using coroutines.

If I use @Transaction annotation I can only use the functions from the same DAO. If I use the Room database function runInTransaction I can't use coroutines.

Is there a way to achieve this?

1 Answers
Related