From e35c3a168a445c766beaee040adbe6e276cd691c Mon Sep 17 00:00:00 2001 From: Thomas Amberg Date: Sat, 26 Apr 2025 12:44:42 +0200 Subject: [PATCH 1/2] Update javascript-asynchronous-programming-and-callbacks.md Clarify wording. Signed-off-by: Thomas Amberg --- .../javascript-asynchronous-programming-and-callbacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md b/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md index 5e64b756cf9b5..0222d384ed29a 100644 --- a/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md +++ b/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md @@ -18,7 +18,7 @@ Programs internally use _interrupts_, a signal that's emitted to the processor t Let's not go into the internals of this now, but just keep in mind that it's normal for programs to be asynchronous and halt their execution until they need attention, allowing the computer to execute other things in the meantime. When a program is waiting for a response from the network, it cannot halt the processor until the request finishes. -Normally, programming languages are synchronous and some provide a way to manage asynchronicity in the language or through libraries. C, Java, C#, PHP, Go, Ruby, Swift, and Python are all synchronous by default. Some of them handle async operations by using threads, spawning a new process. +Normally, programming languages are synchronous and some provide a way to manage asynchronicity in the language or through libraries. C, Java, C#, PHP, Go, Ruby, Swift, and Python are all synchronous by default. Some of them handle async operations by using threads, or by spawning a new process. ## JavaScript From dbb7db03526bd7acf19538e05804aebc07bfca57 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Wed, 7 May 2025 13:22:16 -0400 Subject: [PATCH 2/2] apply code suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Guilherme Araújo Signed-off-by: Aviv Keller --- .../javascript-asynchronous-programming-and-callbacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md b/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md index 0222d384ed29a..50f6b70b8e3c1 100644 --- a/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md +++ b/apps/site/pages/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md @@ -18,7 +18,7 @@ Programs internally use _interrupts_, a signal that's emitted to the processor t Let's not go into the internals of this now, but just keep in mind that it's normal for programs to be asynchronous and halt their execution until they need attention, allowing the computer to execute other things in the meantime. When a program is waiting for a response from the network, it cannot halt the processor until the request finishes. -Normally, programming languages are synchronous and some provide a way to manage asynchronicity in the language or through libraries. C, Java, C#, PHP, Go, Ruby, Swift, and Python are all synchronous by default. Some of them handle async operations by using threads, or by spawning a new process. +Normally, programming languages are synchronous and some provide ways to manage asynchronicity either within the language itself or through libraries. C, Java, C#, PHP, Go, Ruby, Swift, and Python are all synchronous by default. Some of them handle async operations by using threads, or by spawning a new process. ## JavaScript