Synchronous vs Asynchronous

Synchronous Programming :

উদাহরণ -

statement 1… execute

Function (); // 1s 2s 3s 4s…. execute Done

then,

Statement 2 … execute

statement 3 … execute

Asynchronous Programming:

উদাহরণি-

statement 1… // execute

function () // waiting

statement 2 … // done

statement 3 … // done

asynchronous কেন এত গুরুত্বপূর্ণ ?

Blocking methods execute synchronously.

non-blocking methods execute asynchronously.

--

--

Senior Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store