KMP-NativeCoroutines icon indicating copy to clipboard operation
KMP-NativeCoroutines copied to clipboard

Library to use Kotlin Coroutines from Swift code in KMP apps

Results 53 KMP-NativeCoroutines issues
Sort by recently updated
recently updated
newest added

When the current compiler plugin was created KSP didn't support Kotlin/Native and a custom compiler plugin would allow us to modify classes instead of creating extension functions (which seemed a...

> I’d love to be able to suppress those functions being generated, actually. They just wind up being extra bloat on the API surface (the compiler-generated ones) https://kotlinlang.slack.com/archives/C3PQML5NU/p1651707619396539?thread_ts=1651700593.235969&cid=C3PQML5NU

Currently the whole library is focused on Kotlin to Swift cases but there are also valid cases for Swift to Kotlin support. For example you should be able to call...

- Throw `CancellationError`s instead of `KotlinCancellationException`s - Apply back pressure to the Flow collection ### Breaking changes - `asyncFunction(for:)`, `asyncResult(for:)` and `asyncSequence(for:)` throw a `CancellationError` instead of a `KotlinCancellationException` -...

šŸ‘‹ I facing with iOs building issue after integrating the KMP-Native coroutines library. Library version 0.8.0, kotlin 1.5.31 Build stacktrace:[stacktrace.txt](https://github.com/rickclephas/KMP-NativeCoroutines/files/7603369/stacktrace.txt) NetworkProvider.kt: ``` class NetworkProvider(val storage: SharedStorage) { val serverMode: ServerMode...

I just started using the library and ran into a weird issue. If I have a property in my class that has an inferred type, the build crashes. Explicitly adding...

I'm using this [commit](https://github.com/Tinder/StateMachine/pull/28) to use that class in multiplatform and when I import your plug-in it gives me this error: ``` e: org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression at (112,34)...

Work toward https://github.com/rickclephas/KMP-NativeCoroutines/issues/17 Let's get JS support working in here! ## To Extract into Separate PRs - [x] migrate to atomicfu: https://github.com/rickclephas/KMP-NativeCoroutines/pull/44 - [x] intermediate sourceset: https://github.com/rickclephas/KMP-NativeCoroutines/pull/45 - [x] make...