You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you may need to execute several async actions in order.
This can be accomplished using (among others) a recursive anonymous function.
This example shows how to send several messages in order, you can also abstract this further to an array of anonymous functions returning a promise, which you can then use everywhere.