The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/database > TransactionOptions

TransactionOptions interface

An options object to configure transactions.

Signature:

export declare interface TransactionOptions 

Properties

Property Type Description
applyLocally? boolean (Optional) 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.