oolong-kt / oolong

MVU for Kotlin Multiplatform
http://oolong-kt.org
Apache License 2.0
298 stars 14 forks source link

Deprecate Dispose in favor of Job. #113

Closed pardom closed 4 years ago

pardom commented 4 years ago

Currently, the Dispose returned from Oolong.runtime simply cancels a supervising job. Coroutines are language primitives at this point and we should expose the Job instead of obscuring it with another type.