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
Hi! At the moment Swift to Kotlin cases aren't supported, see #42.
But the logic would be pretty similar. E.g. instead of the suspend lambda you would have to expose a lambda with a completion handler.
Something like the following should work (but doesn't support cancellation):
Hey! Awesome library. QQ - How to implement
KotlinSuspendFunction1
in Swift?Kotlin function signature:
Swift usage:
Swift callback I want to pass in
treeSquirrel.sync()
:The text was updated successfully, but these errors were encountered: