Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8287089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:56:30+00:00 2026-06-08T11:56:30+00:00

Well, i am new to javascript and heard it is single-threaded. In my mind

  • 0

Well, i am new to javascript and heard it is single-threaded. In my mind if you make an asynchronous request, it should start an own thread which controls if the server already responded. This won’t work in Javascript. I am thinking is there some built-in mechanism which saves all listeners and calls them, depending on conditions they have “agreed” to (onreadystatechange).

This is just an assumption and I guess i am totally wrong. Well, maybe somebody can help me here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:56:32+00:00Added an answer on June 8, 2026 at 11:56 am

    Only the javascript execution itself is single-threaded, as explained here. Yet, the underlying engine might use more threads.

    So, the HTTP request (created somewhere deep in the bowels of the browser) might have its own thread, but when something (like a response) happens, it will fire an event to be queued into the JS task scheduler. As soon as the current script execution has ended, the onreadystatechange function will be called.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I'm completely new to JavaScript. Can you please tell me what type of
I'm new to Titanium mobile as well as titanium studio, but have heard good
well I'm new to JavaScript so I know that my work will look nasty
Hey still new to JS/CSS/HTML well basicly webdevelopment. I have a page, for which
Well I'm new to PHP but thinking about these stuff has really confused me
I am starting out on a new project (well, restarting an existing one), and
Well, I encountered this new term in programming. What is it? How does it
Actually I am new to jquery as well as web designing Now I need
I am new to SGI's hash_map as well as to the C++ language, so
Starting a new rails project and we have a well-thought-out color palette, and want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.