immediate

abstract fun immediate(): SQLiteTransaction<R>

Transaction Mode: Immediate

Applies IMMEDIATE mode to this transaction; another transaction object is returned (a copy), applying this mode, but with the same properties otherwise.

SQLite documentation describes IMMEDIATE-mode transactions as:

"IMMEDIATE causes the database connection to start a new write immediately, without waiting for a write statement. The BEGIN IMMEDIATE might fail with SQLITE_BUSY if another write transaction is already active on another database connection."