An example which demonstrates how to observe a model signal.
This examples uses a model with a signal to notify listeners about in place changes to a list. This pattern is interesting for the times when a ContainerList would emit too many synchronous notifications. A common example is reordering the elements in a list.
Tip
To see this example in action, download it from observe_model_signal <../../../examples/functions/observe_model_signal.enaml>
and run:
$ enaml-run observe_model_signal.enaml
../../../examples/functions/observe_model_signal.enaml