/
Blocking vs. Non Blocking Calls
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.
, multiple selections available,
Related content
Blocking versus Non blocking calls using a call centre example
Blocking versus Non blocking calls using a call centre example
More like this
Blocking calls in an event loop thread
Blocking calls in an event loop thread
More like this
Why do we need blocking and non blocking functions?
Why do we need blocking and non blocking functions?
More like this
Javascript in browser - example of non-blocking asynchronous APIs
Javascript in browser - example of non-blocking asynchronous APIs
More like this
Node.js - example asynchronous API
Node.js - example asynchronous API
More like this
What problems are there with asynchronous programming?
What problems are there with asynchronous programming?
More like this