| layout | default | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | Monitor | |||||||||||||||
| type_tag | function | |||||||||||||||
| groups |
|
Emits value changes of target signal as events.
{% highlight C++ %} template < typename D, typename S
Events<D,S> Monitor(const Signal<D,S>& target); {% endhighlight %}
When target changes, emit the new value e = target.Value().
