Firebase Promise - Ionic Fire
What is a Promise Promise represent an eventual (asynchronous) value. When you are using a method that returns a promise then that method will either resolve or reject, in any case of resolve or reject, it calls all the callback functions that have been assigned via the then() or catch() methods. Let’s discus further on these two methods: .then() and catch(): then() method in firebase returns firebase Promise containing any type. this method is called when the Promise is resolved.... Read More Read More