⏪ Вернуться в оглавление

About the author


Author: https://t.me/ahillary

Resources


Channel: https://t.me/semolina_code_python

Chat: https://t.me/python_with_ahillary

YouTube: https://www.youtube.com/@semolinacode

Coding training: https://t.me/how_to_code_web3

Prop trading: https://t.me/semolina_prop


Содержание

Что такое асинхронность

Синхронный код

Синхронный код выполняется строка за строкой, одна за другой. Пока одна операция не завершится — следующая не начнётся.

console.log("1");
console.log("2");
console.log("3");

// 1
// 2
// 3

Асинхронный код

Что это