Blocking vs. Non Blocking Calls

Function calls can be blocking. This means that the function will not return control until the operation is completed.

Another model is non-blocking or asynchronous. This means that the caller:

  • Needs to supply a callback function when the call is made.

  • The function will return instantly.

  • But later a callback will come

Underneath this concept page we discuss a whole load of implications of this.

Â