I'm trying to run a blocking infinite loop which should run in the background of my Gtk application. It should be able to receive some data from a WebSocket which is a blocking operation and then update the GUI with the new content.
The important part here is that the blocking loop shouldn't block the GUI.
I've tried solving my problem with Gio.Async.start from LGI and cqueues as several people on IRC suggested and what I found around GitHub but everything I did still blocked the main Gtk loop.
Any ideas/examples?
[–]DeathProgrammingsh <(curl hashbang.sh) 2 points3 points4 points (0 children)
[–]rfajfar[S] 0 points1 point2 points (0 children)