$.Callbacksprovides a way to manage lists of callbacks and it’s actually quite powerful. If we were to define two functions
fn2we can then
addthese functions as callbacks to a
$.Callbackslist and invoke them via the
firemethod. The result of this is that it becomes simple to construct complex lists of callbacks where input values can be passed through to as many functions as needed with ease.