Skip to content

//tempest2/app.cash.tempest2/WritingPager

WritingPager

[jvm]\ class WritingPager<T>@JvmOverloadsconstructor(db: LogicalDb, updates: List<T>, maxTransactionItems: Int = 25, handler: WritingPager.Handler<T>)

A control flow abstraction for paging transactional writes.

Constructors

WritingPager [jvm]
@JvmOverloads
constructor(db: LogicalDb, updates: List<T>, maxTransactionItems: Int = 25, handler: WritingPager.Handler<T>)

Types

Name Summary
Handler [jvm]
interface Handler<T>

Properties

Name Summary
remainingUpdates [jvm]
val remainingUpdates: List<T>
A snapshot of the elements yet to be updated.
updatedCount [jvm]
var updatedCount: Int
The number of updates successfully applied.

Functions

Name Summary
execute [jvm]
fun execute()