page

abstract suspend fun page(afterSequence: Long, limit: Int, recipient: DeviceAddress? = null): List<PendingOutboundMessage>

At most limit pending messages with a sequence number greater than afterSequence, to recipient only if given, in ascending PendingOutboundMessage.sequence order (docs/outbound-message-lifecycle.md). Opens only the records it returns. Throws IllegalArgumentException if limit is not positive or afterSequence is negative.