Join Slack
Powered by
Hi! Where can i find some documentation where ther...
# getting-started
l
Lucian
03/16/2023, 1:04 PM
Hi! Where can i find some documentation where there is some information regarding calling suspend functions from KMM in a java class?
c
CLOVIS
03/16/2023, 2:53 PM
Java cannot call
suspend
functions. You have to provide a wrapper for Java (using either
runBlocking
, wrapping in a Future, etc).
a
asdf asdf
03/16/2023, 3:14 PM
^
This
commit in the Intellij repo from a few days ago shows an example of such a wrapper
2
Views
Open in Slack
Previous
Next