Handler
Functions
Link copied to clipboard
Reads and updates currentData; returns success to commit the new data or abort to leave it unchanged.
Reads and updates currentData; returns success to commit the new data or abort to leave it unchanged.
Reads and updates currentData; returns success to commit the new data or abort to leave it unchanged.
Link copied to clipboard
actual abstract fun onComplete(error: DatabaseError?, committed: Boolean, currentData: DataSnapshot?)
Called once the transaction is committed (committed with the final currentData), aborted, or failed with error.
expect abstract fun onComplete(error: DatabaseError?, committed: Boolean, currentData: DataSnapshot?)
Called once the transaction is committed (committed with the final currentData), aborted, or failed with error.
actual abstract fun onComplete(error: DatabaseError?, committed: Boolean, currentData: DataSnapshot?)
Called once the transaction is committed (committed with the final currentData), aborted, or failed with error.