From 024ff87014e085f354628df65db978339963b737 Mon Sep 17 00:00:00 2001
From: Dave Mayo The argument can be either a single function or an array of functions. When the Deferred generates progress notifications by calling The argument can be either a single function or an array of functions. When the Deferred generates progress notifications by calling notify
or notifyWith
, the progressCallbacks
are called. Since deferred.progress()
returns the Deferred object, other methods of the Deferred object can be chained to this one. When the Deferred is resolved or rejected, progress callbacks will no longer be called. For more information, see the documentation for Deferred object.notify
or notifyWith
, the progressCallbacks
are called. Since deferred.progress()
returns the Deferred object, other methods of the Deferred object can be chained to this one. When the Deferred is resolved or rejected, progress callbacks will no longer be called, with the exception that any progressCallbacks added after the Deferred enters the resolved or rejected state are executed immediately when they are added, using the arguments that were passed to the .notify()
or notifyWith()
call. For more information, see the documentation for Deferred object.