Yes this is totally possible. Just keep in mind that right now a lot of kotlin libraries don’t support the common platform, and explicitly target either the JVM or JS. If there are specific tools you’re looking to use (such as Rx) you’ll need to either keep your common logic completely synchronous and Rx free (and implement async in platform-jvm and platform-js) or do some wrapping.
12/13/2017, 1:53 PM
@roughike you can write asyncronous logic for common code without problems, just use coroutines (or own async wrapper, but I think coroutine is really good option in this case)