CrudTransaction

data class CrudTransaction(val transactionId: Int?, val crud: List<CrudEntry>, val complete: suspend (writeCheckpoint: String?) -> Unit)

A transaction of client-side changes.

Constructors

Link copied to clipboard
constructor(transactionId: Int?, crud: List<CrudEntry>, complete: suspend (writeCheckpoint: String?) -> Unit)

Properties

Link copied to clipboard
val complete: suspend (writeCheckpoint: String?) -> Unit

Call to remove the changes from the local queue, once successfully uploaded.

Link copied to clipboard

List of client-side changes.

Link copied to clipboard

Unique transaction id.

Functions

Link copied to clipboard
open override fun toString(): String