Как "расплющить" существующую кодовую базу JavaScript, удаляя callback'и и .then() – https://certsimple.com/blog/flattening-javascript-async-await