Dan Holmsand
e79132c1f3
Always queue updates in reactions, even when flushing
2015-10-07 11:32:42 +02:00
Dan Holmsand
de1e4d4ad5
Get rid of silent in ratom
...
And some small cleanup
2015-10-04 12:53:23 +02:00
Dan Holmsand
d0f480f3f2
Remove hack to support sync reactions
...
It became too messy, risky and confusing to be worth it.
2015-09-30 09:40:57 +02:00
Dan Holmsand
3fca2e5d41
Make reactions async by queueing changes instead
...
Reactions now put themselves in a queue when they get a
callback from an atom. The queue is flushed before rendering, and
on deref on individual reactions.
This turns out to perform much better in many cases.
2015-09-30 08:56:06 +02:00
Dan Holmsand
415ecd64fd
Simplify with-let and tweak performance
2015-09-26 13:12:59 +02:00
Dan Holmsand
54ca0f927f
Make monitor! run immediately
...
and async reaction not schedule anything from start
2015-09-15 18:11:36 +02:00
Dan Holmsand
e12716da5d
Log caught errors instead of rethrowing
2015-09-13 14:30:19 +02:00
Dan Holmsand
04daf6ac57
Exceptions from reactions are now thrown on deref only
2015-09-13 11:00:46 +02:00
Dan Holmsand
b036cf938e
Complete async testing
2015-09-12 19:13:31 +02:00
Dan Holmsand
544a3339d0
Start testing async reaction
2015-09-12 18:34:10 +02:00