onFailure

onFailure: CloudSqlite.WriteLockBusyHandler | undefined

function called if lock cannot be obtained after all retries. It is called with the name of the user currently holding the lock and generally is expected that the user will be consulted whether to wait further. If this function returns "stop", an exception will be thrown. Otherwise the retry cycle is restarted.

Defined in

Last Updated: 17 December, 2024