You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
357 B
9 lines
357 B
7 years ago
|
/**
|
||
|
* During a transaction no views are updated until the end of the transaction.
|
||
|
* The transaction will be run synchronously nonetheless.
|
||
|
*
|
||
|
* @param action a function that updates some reactive state
|
||
|
* @returns any value that was returned by the 'action' parameter.
|
||
|
*/
|
||
|
export declare function transaction<T>(action: () => T, thisArg?: undefined): T;
|