Gleb02/08/2023, 1:55 AM
suspend foo(): String
. I would like to expose it to the developer using my library. I will need to create
that has different iml for JS and JVM:
. Both calling foo internally. We are still and research phase. Alternative would be to re-implement kotlin library in typescript, but I would like to hear from people with experience opinion on the topic. Thanks!
suspend fooAPI(): String
Evegenii Khokhlov02/08/2023, 6:03 AM
in js source set for yours JS target and don’t use
for this task
actual / expect
Gleb02/08/2023, 6:02 PM
class with suspend function which I want to export. Currently, I can't really do that because of JSExport restrictions.