Like this `list.withIndex().groupBy { it.index / 1...
# announcements
r
Like this
list.withIndex().groupBy { it.index / 1000 }.map { it.value.map { it.value } }.forEach { listChunk -> ... }