You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's surprising to see kotlinx-coroutines in a JS wrappers project, so I'd like to propose splitting the code.
For example:
kotlin-js - pure wrappers
kotlin-js-coroutines - build on top of kotlin-js and adds coroutines support
The same concept could be applied to other modules.
This could favor better dependency management from a consumer perspective, and encourage kotlinx libraries to adopt kotlin-wrappers types. For example, see discussion in kotlinx-io PR.
I've noticed that many modules, including the most basic
kotlin-js
one, add a dependency on coroutines.kotlin-wrappers/kotlin-js/build.gradle.kts
Line 6 in e2f670d
I think it's surprising to see kotlinx-coroutines in a JS wrappers project, so I'd like to propose splitting the code.
For example:
kotlin-js
- pure wrapperskotlin-js-coroutines
- build on top ofkotlin-js
and adds coroutines supportThe same concept could be applied to other modules.
This could favor better dependency management from a consumer perspective, and encourage kotlinx libraries to adopt kotlin-wrappers types. For example, see discussion in kotlinx-io PR.
Related discussion
The text was updated successfully, but these errors were encountered: