.hover()

Bind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.

jQuery.when()

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