<!-- Step 1 [READ THIS] --> <!-- Are you in the right place? * For issues or feature requests related to __the code in this repository__ file a Github issue. * If this is a __feature request__ make sure the issue title starts with "FR:". * For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/) with the firebase tag. * For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk) google group. * For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized [Firebase support channel](https://firebase.google.com/support/). --> <!-- Step 2 --> ### [REQUIRED] Describe your environment * Operating System version: Windows_NT x64 10.0.19045 * Browser version: Chrome 109.0.5414.75 * Firebase SDK version: 9.16.0 * Firebase Product: database (realtime database) (auth, database, storage, etc) <!-- Step 3 --> ### [REQUIRED] Describe the problem #### Steps to reproduce: Can't use async function in `runTransaction`, return value will be counted as `null` (remove everything from that path) <!-- What happened? How can we make the problem occur? This could be a description, log/console output, etc. --> #### Relevant Code: ```typescript const result = await runTransaction(ref(db, 'test'), async (currentData) => { return 1 }) ```