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

maxime

11/15/2018, 1:24 PM
Hi! I’m in the process of migrating my coroutines from Kotlin 1.2.x (\o/) I see that the concept of Reference (with
asReference()
) is gone, what is the way to go now? Should I use
WeakReference
instead, rely on the coroutine state, or trust the current CoroutineScope?
e

elizarov

11/15/2018, 3:15 PM
What kind of
Reference
you were using before? From what library?
g

gildor

11/15/2018, 5:19 PM
I suppose this is asReference from anko
m

maxime

11/19/2018, 12:54 PM
Oh. I didn’t check but it could have been from Anko, I removed the library while migrating. Anyway, problem solved!
Thanks 🙂