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

kevinherron

12/04/2017, 11:21 PM
upgrading to coroutines 0.20… mostly seamless 🙂 it also introduced a couple compilation errors, which was the first time an upgrade has done that
e

elizarov

12/05/2017, 7:13 AM
Sorry for that. We had to clean up both
ActorJob
and
ProducerJob
since they really represented an extra, unnecessary abstraction
👍 1
k

kevinherron

12/05/2017, 1:54 PM
no worries. this was comparatively old code, written before the focus on parent/child relationships. the new solution with a managing parent job is clean.
and apparently before
CoroutineStart.LAZY
was a thing, because I was initializing these in a
lazy
delegate, which had something to do with type inference compilation errors i got after upgrading
3 Views