Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
Which Web API (C++ Api) method will be called when creating a new Promise in Javascript

I read a lot about Promises and how they work in javascript but I couldn't find an answer for: which API being called, from the JS engine.

When calling setTimeout, a timer will be set in the Web API.

As I create a new promise object, I understand it will use some API. Otherwise, what mechanism will bring the result back into the Microtask Queue, before the Event-Loop put it back in the Call-Stack?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!