Asynchronous
Last updated
What is Asynchronous?
Asynchronous programming is a programming paradigm where the execution of functions or routines does not wait for the activities within them to complete before moving on to subsequent ones. This allows for tasks to be processed independently, making the most of system resources. When a function contains an operation such as I/O, database access, or network communication, which may take a long time to complete, this function is wrapped into a future or promise and sent for execution. Meanwhile, the core program continues to run. When the wrapped function gets executed, a callback function is used to notify that the computation or I/O is complete. This forms the core of non-blocking or asynchronous execution. It is widely used in server-side programming, game development, and any scenario where I/O latency or user experience is a concern. Notably, it is at the core of Node.js and many modern web frameworks.
Visit the following resources to learn more:
Free resources to learn Asynchronous
Asynchronous: common questions
Can I learn Asynchronous in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Asynchronous in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Asynchronous tutorial for beginners?
It is lesson 126 of 156 in the free Server Side Game Developer roadmap, in stage 26, Asynchronous. If you are new to Server Side Game Developer, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.