Asynchronous listeners: Data stored in a Firebase Realtime Database is retrieved by attaching an asynchronous listener to a database reference . The listener is triggered once for the initial state of the data and again anytime the data changes. An event listener may receive several different types of events.