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
Pre 1.0, the library would automatically find any suspend function or flow and create an additional wrapped function. Now, we need to annotate them manually.
It would be great if there was a way to bring the automatic behavior back with version 1.0 as a configuration option
The text was updated successfully, but these errors were encountered:
Hi! Agreed such an option would be really nice!
Unfortunately as far as I know this isn't possible (at least not with the current Kotlin versions).
The main issue is that the NativeCoroutines annotations inherit the behaviour from the HiddenFromObjC annotation.
While it's technically possible to add annotations to the IR code via a compiler plugin, that's unfortunately too late for the ObjC generation as it uses the frontend code to generate the ObjC headers.
Pre 1.0, the library would automatically find any suspend function or flow and create an additional wrapped function. Now, we need to annotate them manually.
It would be great if there was a way to bring the automatic behavior back with version 1.0 as a configuration option
The text was updated successfully, but these errors were encountered: