Database.setProgressHandler

Sets the progress handler. Any previously set handler is released.

struct Database
void
setProgressHandler
(
int pace
,
int delegate
()
handler
)

Parameters

pace int

The approximate number of virtual machine instructions that are evaluated between successive invocations of the handler.

handler int delegate
()

A delegate that should return 0 if the operation must be aborted or another value if it can continue.

See Also

Meta