transact()
Like transaction, but does not create a new transaction if there is already one in progress.
Signature
transact<T>(fn: Function): T;
Type parameters
T
Parameters
Name | Type |
---|---|
fn | () => T |
Returns
T
Defined in: signia/src/transactions.ts:246