I am trying to do a call ```resourcesVfs[fileName]...
# korge
I am trying to do a call
Copy code
from a non suspending function, in common code. I can wrap it in runBlockingNoSuspensions, which works on JVM...but not on JS. What is the expected way to do this? (I cannot make the function a suspend function)
If you want to call it synchronously, I'm afraid there is no way. If you can do it async, just wrap suspend code into
GlobalScope.launch { ... }
, for example
hmm, thanks, not ideal...but will do. ­čśë