
$.Callbacksprovides a way to manage lists of callbacks and it’s actually quite powerful. If we were to define two functionsfn1andfn2we can thenaddthese functions as callbacks to a$.Callbackslist and invoke them via thefiremethod. 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.