every and each unmounting... #395
Labels
discussion
needs on going discussion before resolving what kind of problem it is, and what to do with it.
enhancement
New feature or request
every
makes sense, as the timer will keep running for ever. But should anyeach
timer that is still running when things unmount also be unmounted? Note that Observable includes AutoUnmount, so any store will get this behavior as well!Then, on the other hand, there is an each! and every! method (they don't auto start, so you have to say each!(x).start. Neither of these timers IS auto-unmounted.
Couple of options:
after(12).auto_unmount(true)
orevery(12).auto_unmount(false)
to override the defaults.Currently I think its best to make both every and every! behave the same, and make each and each! not autounmount, and then add the
auto_unmount
method to the Browser::Interval and Browser::Delay classes.now all the automounter does is set mount_point
The text was updated successfully, but these errors were encountered: