Abstract
Throughout this book, you have seen examples that relied on callbacks. You provide a function that is executed when something occurs. A good example is the way you have been handling events, where you call a method such as click, passing in a function as an argument. The code statements in the function are not performed until the user triggers the event. Until that point, your function is dormant.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2012). Using Deferred Objects. In: Pro jQuery. Apress. https://doi.org/10.1007/978-1-4302-4096-9_35
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4096-9_35
Publisher Name: Apress
Print ISBN: 978-1-4302-4095-2
Online ISBN: 978-1-4302-4096-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books