That example was exactly what I needed. I rewrote logic and implemented a busy signal as you recommended. After much reading on Reactive.jl I have a working spinner using the same technique as you used for enabling/disabling the button in mc.jl. Thank's for the help (and for contributing Escher to OS).
On Sunday, November 8, 2015 at 1:51:02 PM UTC-5, Shashi Gowda wrote: > > > > On Saturday, November 7, 2015 at 4:21:09 AM UTC+5:30, Brandon Miller wrote: >> >> Code snippet: https://gist.github.com/r2dbg/14189258e9daee2cece6 >> >> I'd like for the spinner on line 23 to spin while do_work() is running >> and stop after do_work returns. However, I can't seem to find a good way >> to do this. The form is blocking until all fields in plugsampler() are >> fulfilled. >> > > Take a look at how the mc.jl example does something similar: > https://github.com/shashi/Escher.jl/blob/master/examples/mc.jl#L24-L35 > > I think a better abstraction is possible for this though. A way to make a > busy-signal for another signal? >