How to apply the DRY principle to async/await functions without encountering excessive overhead?
I have two async functions which duplicate a lot of code with each other, and I’m trying to figure out a way to break this duplicate code out into an alternate function which is called by both functions.