https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

Ananiya

11/14/2020, 4:42 PM
is kotlin.coroutines diprycted yet, why i am asking this is kotlinx.coroutines are used rather than kotlin.coroutines(from standard-lib)
e

ephemient

11/14/2020, 6:19 PM
no, it is not deprecated, kotlinx.coroutines builds on top of kotlin.coroutines infrastructure
a

Ananiya

11/14/2020, 6:38 PM
Ah, so it is the base for coroutines 🤔
g

gildor

11/15/2020, 3:14 AM
Yes, Kotlin.coroutines is stdlib includes only basic primitives
😃 1
e

ephemient

11/16/2020, 12:22 PM
kotlinx.coroutines = structured concurrency. kotlin.coroutines = basic suspend/resume/context support, used by kotlinx.coroutines and also other non-concurrency use case such as @kotlin.DeepRecursiveFunction and kotlin.sequences.sequence()
😃 1
2 Views