Latest developer stories
  • Home
  • Contact Us
  • Website
Sign in Subscribe

nanotasks

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

Javascript: Macro, Micro 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
Page 1 of 1
Latest developer stories © 2023
Powered by Ghost