transact
See source codeLike transaction, but does not create a new transaction if there is already one in progress.
function transact<T>(fn: () => T): T
Parameters
Name | Description |
---|---|
|
The function to run in a transaction. |
Returns
T
Prev
reactorNext
transaction