feat(NiriService): Add new screencast info from git#469
feat(NiriService): Add new screencast info from git#469debuggyo wants to merge 2 commits intoignis-sh:mainfrom
Conversation
For some background on this, see #181 (comment) - it came into existence as a way to prevent errors caused by referencing variables before they've been initialized by the event stream. Admittedly, it's not a great nor sustainable solution, as it's making assumptions we shouldn't make about the Niri IPC. But removing it altogether might lead to errors in some circumstances - as far as I understand, Ignis is designed in such a way that we expect service objects to be already initialized when the service is fully initialized, which isn't guaranteed if we rely on the threaded event stream. Maybe there's another solution to be found here? |
I think of solving this in #475. Services should have an initial constructor and async |
https://yalter.github.io/niri/niri_ipc/struct.Cast.html

Also removed the initial unthreaded event stream since it seemed to be causing more issues than creating and seems to work fine without.
