Ian Clarke

Results 187 comments of Ian Clarke

WebSocket backoff and connectivity was hardened.

Working on it in this here: https://github.com/kwebio/kweb-core/pull/96

Hi, welcome aboard and I appreciate the question :) You are correct that this could be much more efficient, since the keycode has to be sent to the server every...

This is very interesting, thank you. I don't have much experience with Kotlin compiler plugins, so it might take me some time to wrap my head around it :) If...

Oh, just in case you're not aware, you can easily execute JavaScript code from Kweb using [WebBrowser.execute](https://github.com/kwebio/kweb-core/blob/master/src/main/kotlin/io/kweb/WebBrowser.kt#L48), there is also an `evaluate` function which can return a value. Obviously it...

Oh, @fjf2002, re: > So, to paraphrase one sentence of yours, I'm rather nervous about what onImmediate currently suggests to be feasible but in reality isn't - if I understand...

Sorry about the delay. I see the appeal of the approach ,but I'm concerned about its complexity in practice and fear there might be pitfalls here that we're unaware of....

@fjf2002 I've recently learned more about macros in Rust and if Kotlin's compiler plugins have similar power - then I think there could be a way to do this. The...

> You would have to disallow every single function call, including Object instantiation, of functions/classes that have no implementation for the Kotlin/JS platform(?) Yeah, this could get very messy at...