JavaScript: Promises or async-await?
A set of rules for when to use which
Tags: javascript, async, await