getAllMyFavoriteComments

abstract suspend fun getAllMyFavoriteComments(): List<Comment>

Get all the current user's favorite comments.

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


abstract suspend fun <T> getAllMyFavoriteComments(eachGetOperation: (List<Comment>) -> T): List<Comment>

Get all favorite comments of the current user and after each get operation, run lambda block with result of get operation.

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

Samples

sampleEachOperation