correctness.async

Blocking call inside async flow

Async functions should not call synchronous blocking APIs on the hot path.

#Metadata

#Why it matters

Blocking sync APIs stall the event loop and erase the throughput benefits of async control flow.

#Remediation

Replace the sync API with its asynchronous equivalent or move the blocking work out of the async request path.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.blocking-call-in-async-flow.rule.yaml.