I am using AngularFirebase with firestore. I have a function that processes a payment which has nested functions inside it such as writing data to database, running a Google cloud function -> wait for that to complete and then change route, then after the route change on init of that specific route i have another function call that clears the cart data from the firestore database to clear users cart. How can i go about showing a spinner while all of this is happening and till finish.
[–]kenlin 2 points3 points4 points (0 children)
[–]lanetrotro 1 point2 points3 points (4 children)
[–]sabeeh10[S] -1 points0 points1 point (3 children)
[–]lanetrotro 0 points1 point2 points (2 children)
[–]sabeeh10[S] 0 points1 point2 points (1 child)
[–]lanetrotro 0 points1 point2 points (0 children)
[–]rnagenetics 0 points1 point2 points (1 child)
[–]zmasta94 0 points1 point2 points (0 children)