How do I define a lambda parameter in Kotlin Nativ...
# kotlin-native
r
How do I define a lambda parameter in Kotlin Native that returns Objc/Swift’s
Void
?
Right now I need to
return KotlinUnit()
at the end of all my Swift lambda implementations and it’s a pain
s
You can’t.
r
So I’m stuck with all those
return KotlinUnit()
?
s
Yes.
r

https://i.imgur.com/HeUNm7E.gif