class SQLite3::Database
def busy_handler(data = nil, &block) # :yields: data, retries
See also the mutually exclusive #busy_timeout.
busy, and the number of times it has been retried.
The handler will be invoked with the name of the resource that was
be requested again.
+false+, the operation will be aborted; otherwise, the resource will
resource is busy, this handler will be invoked. If the handler returns
Register a busy handler with this database instance. When a requested
def busy_handler(data = nil, &block) # :yields: data, retries result = @driver.busy_handler(@handle, data, &block) Error.check(result, self) end