Tweet by mjackson

June 9, 2025

Async code in JavaScript is contagious. Any time you define an async function, the caller must also be async. async function fn() { // ... } async function mustAlsoBeAsync() { let result = await fn() // ... } 1/?

Author
mjackson
Date
June 9, 2025