Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

127
Vistas
Is the await keyword blocking

I'm currently reading 'Javascript: The Definitive Guide' and I have a question in relation to the asynchrony of the await keyword. In the book it states 'think of the await keyword as a marker that breaks up a function body into seperate synchronous chunks'. I presumed the only purpose of this would be to run each of them concurrently.

But in relation to the below example, the book states that 'fetching of the 2nd URL will not begin until the first fetch is complete'. And so I'm a bit confused as both statements seem contradictory. Any help would be appreciated. Thanks

let value1 = await getJSON(url1);
let value2 = await getJSON(url2);
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda