Edoardo Luppi
05/23/2025, 9:13 AM@nativeGetter
, @nativeSetter
, and @nativeInvoke
ever been started?
I think they're still the way to go, as annotation-based behaviors is effectively what Kotlin uses, and the unsafe js()
alternative should be reserved for more peculiar use cases (e.g. complex externals fun with body).turansky
05/23/2025, 11:01 AMturansky
05/23/2025, 11:02 AMturansky
05/23/2025, 11:02 AMinvoke
operator isn't supported right nowEdoardo Luppi
05/23/2025, 3:28 PMoperator
keyword?turansky
05/23/2025, 3:32 PMturansky
05/23/2025, 3:34 PM[]
in JS = []
in KotlinEdoardo Luppi
05/23/2025, 4:06 PMEdoardo Luppi
05/23/2025, 4:15 PM@nativeInvoke
you're free to name the function as you like.
Although apart from that, I can't come up with anything else.turansky
05/23/2025, 5:53 PM