setBusyTimeout

abstract fun setBusyTimeout(millis: Int)(source)

Sets a BusyHandler that sleeps for a specified amount of time when a table is locked. Any BusyHandler previously passed to setBusyHandler is replaced.

Throws

if setting the timeout fails.