I see there is an eslint rule, no-return-await
, for disallowing return await
.
In the rule's description, it states a return await
adds "extra time before the overarching Promise resolves or rejects"
.
However, when I look at MDN async
function docs, the "Simple Example" shows an example containing return await
without any description of why this might be a performance problem.
Is return await
an actual performance problem as the eslint docs suggest?
And if so, how?