setHook

abstract fun setHook(hook: WriteAheadLogHook?)(source)

Sets the callback that is invoked each time data is committed to a database in wal mode.

Throws

if setting the hook fails.