voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
21 lines (12 loc) • 821 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)
## TransactionOptions interface
An options object to configure transactions.
<b>Signature:</b>
```typescript
export declare interface TransactionOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [applyLocally?](./database.transactionoptions.applylocally.md) | boolean | <i>(Optional)</i> 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. |