Latest developer stories
  • Home
  • Contact Us
  • Website
Subscribe

nanotasks

A collection of 1 post
Javascript: Tasks /Macro Tasks, Micro tasks, and Nano tasks
Software Developement

Javascript: Tasks /Macro Tasks, Micro tasks, and Nano tasks

Introduction Javascript is a single-threaded language, so it can only execute one operation at a time. It uses a javascript scheduler to manage long operations such as HTTP calls in order to avoid blocking the main thread. To understand this you need to know how the event loop handles tasks
Nov 18, 2021 3 min read
Latest developer stories © 2022
Powered by Ghost