Back

Suyash Patil

Frontend Engineer • 2d

One interesting thing to look into when it comes to the 𝗲𝘃𝗲𝗻𝘁 𝗹𝗼𝗼𝗽 is how JavaScript handles macrotasks and microtasks. 𝗠𝗮𝗰𝗿𝗼𝘁𝗮𝘀𝗸𝘀: Macrotasks are typically large, high-level operations like setTimeout, setInterval, and user interactions (e.g., click, scroll). 𝗠𝗶𝗰𝗿𝗼𝘁𝗮𝘀𝗸𝘀: Microtasks, often created by Promises or queueMicrotask, are lightweight tasks that are always processed after the current execution context but before any rendering or macrotasks. Microtasks are executed immediately after the current script and before any rendering, making them a reliable way to ensure certain tasks (like promises) are handled promptly. Macrotasks are handled in a “first come, first served” manner, which includes things like timers and I/O events.

0 replies11 likes
1

More like this

Recommendations from Medial

Image Description
Image Description

SHIV DIXIT

CHAIRMAN - BITE INDU... • 1y

I think current Indian startup don't have guts to fulfill their promises like other foreign brands Blinkit Big basket Zomato swiggyy Ola Hood Paytm Etc...... Some are promising 10 min delivery , ( ai ) , ev , sequrity , anonymous chating , any s

See More
4 replies13 likes
Image Description

Haran Naresh K

Developer in trainin... • 5m

Harnessing GPU Power with CUDA CUDA (Compute Unified Device Architecture) is a parallel computing platform by Nvidia that unleashes the power of GPUs for more than just graphics rendering. Initially developed in 2007, CUDA enables massive parallel p

See More
1 replies4 likes

Jatin Ahirwar

Full Stack Developer • 7m

🗂️Day 27 of the 30-day Question Mania challenge with Hitesh Choudhary Sir! Today, I focused on building a Task Management App, a project that honed my skills in creating interactive and user-friendly applications. Here’s what I achieved: 🔹 Pro

See More
0 replies1 like
Image Description
Image Description

Suman Meghwal

Wealthseeker • 2m

Ravi, 32, was seated at his desk, feeling pressured by a challenging deadline. As the stress increased, he sensed his anxiety grow, thinking, “I won’t be able to complete it on time.” His thoughts sped with negativity, rendering the task seem unachie

See More
9 replies2 likes
Image Description
Image Description

Prem Siddhapura

Unicorn is coming so... • 4m

Making money as a beginner often requires creativity, persistence, and identifying opportunities that match your skills and interests. Here are some practical ideas: 1. Freelancing Offer services in writing, graphic design, social media management,

See More
3 replies6 likes
Image Description
Image Description

Vishu Bheda

 • 

Medial • 3m

Your next best employee won't need: No sleep. No salary. No benefits. No time off. Because it won't be human. By 2030, AI agents will replace 70% of office work (McKinsey) and add $7T to the global economy (Goldman). OpenAI maps out AI evolution

See More
13 replies18 likes
10

Jay Kumar

What's is madial • 1m

Here are some innovative app development ideas based on current trends and needs: AI-Powered Note-Taking App: Develop an app that uses AI to take notes during virtual meetings. It could transcribe conversations, summarize key points, highlight actio

See More
0 replies2 likes
Image Description
Image Description

hussain sarwer

Building HustleAndSn... • 9m

Had to delete my previous features because users didn't actually needed it. That is the power of user feedback. #build_in_public In my previous version I had built extra features which became overkill and after reiterating based on user feedback the

See More
2 replies8 likes
2
Image Description
Image Description

SHIV DIXIT

CHAIRMAN - BITE INDU... • 1m

Idea For You Implement Now — “ Super Time : Arrange anything and anyone ” So guy's according to my research globally poor to rich people's everyone values their Time and skills for particular task and invest only when they get right returns for tha

See More
8 replies21 likes
6

Daya Juwatkar

Founder at Mridakran... • 1m

Exclusive Investment Opportunity with Mridakranti Pvt Ltd. We are offering a high-yield debt investment opportunity for just one day – with an exceptional 60% annual interest, payable monthly. About Us Mridakranti Pvt Ltd. is a grant-awarded start

See More
0 replies

Download the medial app to read full posts, comements and news.