forEachThread

fun forEachThread(inboxId: String, filter: ListThreadsBuilder.() -> Unit = {}, action: suspend (Thread) -> Unit)

Queues an operation that iterates over all threads in the inbox, handling pagination automatically.