How to capture the end of an event on Firebase? for example: writing data. What I\'d like to do is to use an event on Firebase which can let know that all the data (send manuall