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 events are handled, using 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 our function is dormant.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2013). Using Deferred Objects. In: Pro jQuery 2.0. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6389-0_36
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6389-0_36
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6388-3
Online ISBN: 978-1-4302-6389-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books