Check out example codes for "coroutines kotlin android dependency". It will help you in understanding the concepts better.

Code Example 1

implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7'

Code Example 2

dependencies {
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7'
}

Learn ReactJs, React Native from akashmittal.com