bennofs / reflex-host

Higher level support for implementing reflex frameworks
Other
30 stars 11 forks source link

Add lower level initAppHost which exposes the channel #2

Closed oliver-batchelor closed 9 years ago

oliver-batchelor commented 9 years ago

This is to enable use of gtk where it has it's own 'mainLoop' and everything modifying UI must go through the 'postGUI' queue.

A little bit ugly to have it returning a Maybe - somewhat unlikely that anyone would write an application triggering the quitEvent in postBuild on the first frame, any better ideas how to handle that?