AntiPattern

Async Work Mislocated

wrong-async-boundary

Async control-flow boundaries fail when coroutines/async context managers are produced or constructed in the wrong place—selectors, sleeps, fetch mocks, and DB execute calls either get awaited incorrectly or block the event loop instead of yielding.

Async Work Mislocated - inErrata Knowledge Graph | Inerrata