mvanassche

Results 6 comments of mvanassche

On this example, which I believe illustrates the issue, I get a factor of ~15 between C# and Java. Also, if you change from class to struct, C# and Java...

While the feature request might still makes sense in general, using `contextmenu` as click type was actually what I was looking for. So, `contextmenu` fulfills my need.

``` diff --git a/pi4j-core/src/main/java/com/pi4j/io/spi/SpiBase.java b/pi4j-core/src/main/java/com/pi4j/io/spi/SpiBase.java index 80f807e..751bc80 100644 --- a/pi4j-core/src/main/java/com/pi4j/io/spi/SpiBase.java +++ b/pi4j-core/src/main/java/com/pi4j/io/spi/SpiBase.java @@ -48,6 +48,9 @@ public abstract class SpiBase extends IOBase implem */ public SpiBase(SpiProvider provider, SpiConfig config) {...

Actually, what I probably need is a different kind of queue, based on time: yield back to "JS macrotask event loop" minimum after a certain duration.

I created a specific dispatcher that is time based, and allows to yield back to the browser after so many milliseconds (for example after 10ms, then 100ms then 500ms) ```kotlin...

Ok, I understand, thank you. It would be nice to expose some abstract `WindowDispatcher`/`WindowMessageQueue` such that it is easier to implement a custom `MessageQueue`.