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

lovis

12/21/2017, 8:59 AM
The docs say:
>> IMPORTANT NOTE: We advise library authors to follow the same convention: add the “experimental” (e.g. com.example.experimental) suffix to your packages exposing coroutine-based APIs so that your library remains binary compatible. When the final API is released, follow these steps:
copy all the APIs to com.example (without the experimental suffix), keep the experimental package around for backward compatibility. This will minimize migration issues for your users.
👍🏽 3
l

louiscad

12/21/2017, 9:14 AM
That's what I remember, but isn't there way to make package migration easier, like
@Deprecated("blabla", ReplaceWith("thisIsBetter()")
can do for functions and properties? Or maybe it's planned? @elizarov can probably tell.
e

elizarov

12/21/2017, 9:32 AM
We plan to provide tools to aid in migration. No specific decision on design yet
l

louiscad

12/21/2017, 9:55 AM
Is there an issue/discussion I can join about the design of this migration tools?
e

elizarov

12/21/2017, 10:20 AM
Not yet
3 Views