jQuery.when()

Provides a way to execute callback functions based on zero or more Thenable objects, usually Deferred objects that represent asynchronous events.

.finish()

Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.