Re: Reactive when_file_changed decorator question

2016-01-28 Thread Merlijn Sebrechts
Thank you for this. I proposed the idea of events here: https://github.com/juju-solutions/charms.reactive/issues/49 I think it would solve a lot of use-cases and bring some clarity in how these non-state predicates are handled. 2016-01-28 20:15 GMT+01:00 Cory Johns : >

Re: Reactive when_file_changed decorator question

2016-01-28 Thread Cory Johns
Merlijn, You are correct, the order of handlers is undetermined, so it is entirely possible for the execution order to be: handler1, handler2, handler3, handler2. The predicates, including the @when_changed test, will be checked again after each round of dispatch, so handler2 should definitely