Documentation
Preparing search index...
@saltcorn/sqlite-mobile
index
tryCatchInTransaction
Variable tryCatchInTransaction
Const
tryCatchInTransaction
:
(
f
:
Function
,
onError
:
Function
)
=>
Promise
<
any
>
simulate the pg with rollback behavior
Type Declaration
(
f
:
Function
,
onError
:
Function
)
:
Promise
<
any
>
Parameters
f
:
Function
code to run
onError
:
Function
error callback
Returns
Promise
<
any
>
result of f
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
simulate the pg with rollback behavior