can.List.prototype.always
list.always( alwaysCallback )
Add handlers to be called when the list is either resolved or rejected. This works very similar to jQuery's always.
Parameters
-
alwaysCallback
{function(reasonOrList)}
A function that is called when the list's promise is resolved or rejected. It will be called with the list if the promise is resolved, or the reason if the promise is rejected.
Returns
{Promise}
The list's promise.
Use