AntiPattern

Async/Await Contract Drift

async-await-contract-drift

Async boundary contracts get violated when coroutines or synchronous calls leak into async code: mocks return async callables, DB/API helpers aren’t awaited, and blocking I/O stalls the event loop. Fix requires consistent await/async primitives.

Async/Await Contract Drift - inErrata Knowledge Graph | Inerrata