Transactions

class Transactions

The starting point for accessing Couchbase transactions.

See also

Functions

Link copied to clipboard
suspend fun <V> run(timeout: Duration? = null, parentSpan: RequestSpan? = null, durability: Durability? = null, metadataCollection: Keyspace? = null, transactionLogic: suspend TransactionAttemptContext.() -> V): TransactionResult<V>

Runs supplied transactional logic until success or failure.