Hi! I'm going to publish an open source library to...
# coroutines
l
Hi! I'm going to publish an open source library to make the callback-hell-based Camera2 Android API easy to use thanks to coroutines. It will of course be based on kotlinx.coroutines, and I'm wondering if I should add "experimental" in the name of the maven artifact like @jw did for its retrofit coroutines adapter library, or if I should not like it's done for kotlinx.coroutines itself. I'd have picked the latter approach before, but I saw that kotlinx.coroutines are likely to experience a few fundamental changes before for their 1.0 versions, like usage of
inline classes
, requiring a
CoroutineScope
to launch a coroutine… I would like to make future migration for projects relying on my upcoming library easy. The former approach allows to have both versions in the same module while migrating, while the other doesn't… but the latter doesn't show warning when a non experimental version gets released…
👍 1