How to Use Kotlin Coroutines With Firebase

Add some suspense to your Firebase requests

Siva Ganesh Kantamani
Better Programming
Published in
4 min readMar 2, 2020

--

Introduction

Firebase adds support to Coroutines through the kotlinx-coroutines-play-serviceslibrary. Firebase authentication and Firestore database operations can be suspended to ensure they’re not running on the main thread. Read on to learn how to use this and how it works under the…

--

--