O'Reilly logo

Developing Node.js Applications on IBM Cloud by Ahmed S. Hassan, Mohamed Ewies, Ahmed Azraq

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding asynchronous callback
This chapter discusses two important concepts: Asynchronous method invocation and callbacks:
Asynchronous method invocation
This is a design pattern where an invoker method does not block while waiting for the invoked method to finish processing and return a result. Instead, the invoked method is run in a separate thread and the invoker is notified when the result is ready.
Callback function
This is a function that is passed to another function as a parameter and the callback function is called and run within ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required