getAllMyComments

abstract suspend fun getAllMyComments(): List<Comment>

Get all comments of the current user.

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


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

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

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

Samples

sampleEachOperation