Skip to content

//selekt-android/com.bloomberg.selekt.android/SQLiteDatabase/yieldTransaction

yieldTransaction

[androidJvm]\

@JvmOverloads

fun yieldTransaction(@IntRange(from = 0)pauseMillis: Long = 0): Boolean

Temporarily end the transaction to allow other threads to make progress. The transaction is assumed to be successful thus far and committed, do not call setTransactionSuccessful. When this method returns a new transaction will have been created but not yet marked as successful.

The yielding transaction can be nested.