> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# kotlin-run-blocking-in-suspend

> A direct coroutine runBlocking call blocks the thread of a suspend function.

## What it flags

The optional Kotlin reliability checker recognizes direct `kotlinx.coroutines.runBlocking` calls in a suspend function. It checks imported names and aliases in top-level functions without extension receivers, where an implicit receiver cannot shadow the import. Review whether the blocking bridge can be replaced while preserving its cancellation, coroutine scope and completion behavior. Loadwise also scans Kotlin scripts with the `.kts` extension.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.