getAllUserEntries

abstract suspend fun getAllUserEntries(userID: Long): List<Entry>

Get all user entries.

If user has a lot of entries, it could take a long time to get all of them


abstract suspend fun <T> getAllUserEntries(userID: Long, eachGetOperation: (List<Entry>) -> T): List<Entry>

Get all user entries and after each get operation, run lambda block with result of get operation.

If user has a lot of entries, it could take a long time to get all of them.

Samples

sampleEachOperation