Tagged articles
await
13 articles · Page 1 of 1
Async programming boosts efficiency by allowing tasks to run while waiting for I/O, and this guide explores eight common implementations—callbacks, Promises, async/await, event emitters, generators, coroutines, ReactiveX, and the Actor model—detailing their advantages, drawbacks, suitable scenarios, and production‑grade best practices.
CoroutinesPromisesactor model
0 likes · 10 min read

This article examines the performance drawbacks of JavaScript's async/await, introduces optimized Promise chaining, parallel execution with Promise.all, batch processing, and a Promise pooling technique, and presents benchmark results showing up to 80% speed improvements in various asynchronous scenarios.
JavaScriptOptimizationPromise
0 likes · 5 min read

This article introduces Python's async and await keywords, explains how they enable coroutine programming, and provides multiple practical examples including simple coroutine definitions, awaiting tasks, concurrent execution with asyncio.gather, HTTP requests using aiohttp, and resource management with custom coroutine-based managers.
ConcurrencyPythonasync
0 likes · 6 min read

This article explains how React Router 6.4’s new Data APIs—loader functions, defer, and the Await component—separate data fetching from rendering, improve client‑side and server‑side rendering performance, and provide a smoother user experience through progressive loading and streaming.
Data APIsReact RouterSSR
0 likes · 24 min read

This article examines why try‑catch is often overused for async/await errors, outlines common scenarios that cause request failures, and presents two cleaner alternatives—using Promise .catch with conditional logic and the lightweight await‑to‑js utility—to simplify error handling and reduce code redundancy.
JavaScriptasyncawait
0 likes · 7 min read

This article explains the Dart Future object, its role in representing asynchronous task results, how to listen to success and error callbacks with then, catchError, and whenComplete, the special FutureOr type, chaining with then, and simplifying code using async/await, illustrated with Flutter examples.
Asynchronous ProgrammingDartFlutter
0 likes · 19 min read

This article walks through C++20 coroutines with clear explanations, three runnable examples, deep dives into promise_type, coroutine_handle, co_await, co_yield and co_return, and shows how to build both void‑returning and int‑returning coroutines while illustrating the compiler‑generated control flow.
Async ProgrammingC++C++20
0 likes · 21 min read

This article compares the evolution of coroutines in Python and JavaScript, explaining their shared goals, core concepts, historical milestones, mature implementations, and practical code examples to help newcomers understand asynchronous programming across both languages.
Promiseasyncawait
0 likes · 12 min read

This article compares the evolution, concepts, and practical implementations of coroutines in Python and JavaScript, explaining their histories, core mechanisms such as async/await, event loops, and providing side‑by‑side code examples to help newcomers understand asynchronous programming in both languages.
Pythonasyncawait
0 likes · 15 min read


ByteFEApr 25, 2021 · Fundamentals
This article examines the four ECMAScript grammars—lexical, syntactic, regular‑expression, and numeric‑string—explains how context‑free productions define tokens, shows ambiguous cases such as the '/' and '`' characters, and details why the identifier await is prohibited in async functions through static‑semantic rules.
ECMAScriptLexicalawait
0 likes · 13 min read


ByteFEApr 22, 2021 · Frontend Development
This article explains how the ECMAScript specification defines four context‑free grammars—lexical, syntactic, RegExp, and numeric string—illustrates ambiguities such as the '/' token and template literals, and shows how static semantics forbid using the await keyword as an identifier inside async functions while allowing it elsewhere.
ECMAScriptSyntacticawait
0 likes · 15 min read

This article explains how V8’s compiler, garbage collector, and a bug‑inspired optimization improve async/await performance across Node.js versions, detailing benchmark results, code behavior differences, and the engine’s internal steps for handling await.
Node.jsV8await
0 likes · 5 min read


ITPUBJun 4, 2017 · Operations
This article explains the meaning of iostat fields, clarifies common misconceptions about svctm and await, details each /proc/diskstats column, shows how to calculate key performance metrics, and illustrates practical analysis with real disk examples.
%util/proc/diskstatsI/O Metrics
0 likes · 11 min read
