# Kotlin Native Coroutines runBlocking

**URL:** <https://discuss.kotlinlang.org/t/kotlin-native-coroutines-runblocking/16768>\
**Category:** Native\
**Created:** [March 20, 2020, 8:24am UTC](https://discuss.kotlinlang.org/t/kotlin-native-coroutines-runblocking/16768 "2020-03-20T08:24:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wernera77](https://avatars.discourse-cdn.com/v4/letter/w/ce7236/32.png) [@wernera77](https://discuss.kotlinlang.org/u/wernera77)\
**Post date:** [March 20, 2020, 8:24am UTC](https://discuss.kotlinlang.org/t/kotlin-native-coroutines-runblocking/16768/1 "2020-03-20T08:24:47Z")

</div>

I’m trying to investigate coroutines under Kotlin Native. However, the method `runBlocking` does not seem to be available. What’s the reason behind it and how am I supposed to work around it? A lot of coroutine sample code uses runBlocking so I don’t know how to re-write that code under Kotlin native.

---

<div class="post-metadata">

**Author:** ![Artyom.Degtyarev](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@Artyom.Degtyarev](https://discuss.kotlinlang.org/u/Artyom.Degtyarev)\
**Post date:** [March 23, 2020, 11:40am UTC](https://discuss.kotlinlang.org/t/kotlin-native-coroutines-runblocking/16768/2 "2020-03-23T11:40:11Z")

</div>

Hello, @wernera77! Can you tell how are you including kotlinx.coroutines into your project? I’ve found a similar [issue](https://github.com/Kotlin/kotlinx.coroutines/issues/672) in the coroutines GitHub, maybe you’re facing the same problem

---

<div class="post-metadata">

**Author:** ![wernera77](https://avatars.discourse-cdn.com/v4/letter/w/ce7236/32.png) [@wernera77](https://discuss.kotlinlang.org/u/wernera77)\
**Post date:** [March 24, 2020, 7:03am UTC](https://discuss.kotlinlang.org/t/kotlin-native-coroutines-runblocking/16768/3 "2020-03-24T07:03:57Z")

</div>

I visited that thread before, but I overlooked that runBlocking is indeed available in the native library (just not in the common part). Thanks!
