Hi All, I'm experimenting with shiny, trying to develop a wire protocol for it. I have some questions about the interfaces.
It seems from some of the examples in the documentation and some tutorials that everything except perhaps sending custom window events (to trigger updates to the UI) occur on a single event loop goroutine, which is the same one that the driver's Main function runs in. This isn't spelled out in the screen interfaces, so I wonder if this is really a true constraint. If this is true, then how does one handle multiple active windows? The window.NextEvent() is blocking, and isn't a channel that permits selecting on multiple windows at once. Otherwise, if it's expected that in some scenarios, such as multiple windows, that there will be more goroutines what sorts of permissible goroutine configurations are allowed? Can I have a goroutine per window, or can any goroutine access anything at any time? Thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEEr3T7e7%2Bb%3DWivLbOa%2B7uDucNbCAVM6D3mwX-DaUgwRnAvh0A%40mail.gmail.com.