JuliaGizmos / Reactive.jl

Reactive programming primitives for Julia
http://juliagizmos.github.io/Reactive.jl/
Other
182 stars 46 forks source link

Mention `yield` in tutorial? #82

Open dlfivefifty opened 8 years ago

dlfivefifty commented 8 years ago

I was having issues with Reactive, where a map/lift command was not running consistently, and eventually error messages about a queue being filled appeared. Adding yield to the code generating the data appears to have resolved the data. (I suppose map/lift runs as an @async process and so yield is needed for it to run.)

I'd suggest this is added to the tutorial as it took me a bit of guessing to determine the issue.

shashi commented 8 years ago

It actually does not run an @async task, it puts the update on a global channel.