hey, by any chance anyone knows how to pass suspen...
# ios
a
hey, by any chance anyone knows how to pass suspend lambda on iOS swift side?
Copy code
suspend fun test(testSuspend: suspend () -> Unit) {
    testSuspend()
}
getting error:
f
You’re making borderline code for swift
did you try to use SKIE?
but I think you should try to avoid that, the bridge objc/swift doesn’t like this way.
👍 1
h
Technically, you could implement the interface in swift and also add swift lambda support.
👍 1