About 15,700,000 results
Open links in new tab
  1. Is there any reason to use a synchronous XMLHttpRequest?

    Aug 4, 2011 · Synchronous calls block the browser which leads to a terrible user experience. Thus my question. I couldn't think of any good reason to use it.

  2. Call An Asynchronous Javascript Function Synchronously

    Feb 3, 2012 · First, this is a very specific case of doing it the wrong way on-purpose to retrofit an asynchronous call into a very synchronous codebase that is many thousands of lines long and time …

  3. synchronization - what is the difference between synchronous and ...

    Jan 31, 2021 · 1 synchronous code is executed sequentially. Each line waits for the previous line to finish before executing. If the code is asynchronous, your program can continue to run. It is …

  4. synchronous and asynchronous loops in javascript

    Feb 11, 2017 · synchronous and asynchronous loops in javascript Asked 8 years, 10 months ago Modified 3 years, 2 months ago Viewed 89k times

  5. javascript - What is the difference between synchronous and ...

    May 2, 2013 · 1 Synchronous functions are blocking while asynchronous functions are not. In synchronous functions, statements complete before the next statement is run. In this case, the …

  6. html - Read a file synchronously in JavaScript - Stack Overflow

    Jun 12, 2013 · Synchronous tasks (blocking) are generally bad. If there is no real reason to do that synchronously, I strongly recommend you to use the event callback. Imagine your file is broken and …

  7. How to make an asynchronous Dart call synchronous?

    Jan 30, 2015 · A synchronous function must return before any other asynchronous events can execute, so there is no way to synchronously wait for asynchronous execution. Execution in Dart is single …

  8. Using resolved promise data synchronously - Stack Overflow

    Jul 25, 2018 · I want to know if there is any way at all to use the data from a resolved promise in 'normal' synchronous code There isn't a way to write completely synchronous code when handling …

  9. how to make a jquery "$.post" request synchronous [duplicate]

    Apr 28, 2011 · From the Jquery docs: you specify the async option to be false to get a synchronous Ajax request. Then your callback can set some data before your mother function proceeds.

  10. jquery - JavaScript console.log causes error: "Synchronous ...

    JavaScript console.log causes error: "Synchronous XMLHttpRequest on the main thread is deprecated..." Asked 11 years, 5 months ago Modified 4 years, 2 months ago Viewed 824k times