voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
14 lines (8 loc) • 672 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/database](./database.md) > [TransactionOptions](./database.transactionoptions.md) > [applyLocally](./database.transactionoptions.applylocally.md)
## TransactionOptions.applyLocally property
By default, events are raised each time the transaction update function runs. So if it is run multiple times, you may see intermediate states. You can set this to false to suppress these intermediate states and instead wait until the transaction has completed before events are raised.
<b>Signature:</b>
```typescript
readonly applyLocally?: boolean;
```