kotlin coroutines dependency
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1'
kotlin coroutines dependency
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1'
kotlin coroutine builders
launch - Launches new coroutine without blocking
current thread and returns a reference to the coroutine
as a Job.
runBlocking - Runs new coroutine and blocks current
thread interruptible until its completion.
async - Creates new coroutine and returns its future
result as an implementation of Deferred.
withContext - Change a coroutine context for some
block.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us