There\'s a bunch on this topic, but I havn\'t found an instance that applies well to my situation.
Fade a picture out and then fade another picture in. Instead, I\'m
With async functions and promises, it now can work as simply as this:
async function foobar() { await $("#example").fadeOut().promise(); doSomethingElse(); await $("#example").fadeIn().promise(); }