Doug Hoffmann
Doug Hoffmann
Try this. Use the JavaFX Dispatcher. ```Kotlin GlobalScope.launch(Dispatchers.IO) { try { val res = api.put("$api_url/entities") { body = entity } launch(Dispatchers.JavaFx) { fire(EntityUpdatedEvent(res.data)) } } catch (e: ApiException) { ErrorMessage("..err.",...
I was able to do it like this. ```kotlin class MyApp : App(TestView::class) class Launch { companion object { @JvmStatic fun main(args: Array) { launch(args) } } } class MessageEvent(val...
Im using Ktor && Jackson. When you launch our coroutine from your subscribe, then fires your async function the code dont works. But if you make the launch from the...
I was able to do it like this to make my UI dont freeze. ✌️ Thkx for the awesome job 👍
i've got the same error, anyone has a way out of this. Kinda Brings me down things were working well. :/