| layout | default | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | Pulse | |||||||||||||||
| type_tag | function | |||||||||||||||
| groups |
|
Emits the value of a target signal when an event is received.
{% highlight C++ %} template < typename D, typename S, typename E
Events<D,S> Pulse(const Events<D,E>& trigger, const Signal<D,S>& target); {% endhighlight %}
Creates an event stream that emits target.Value() when receiving an event from trigger
The values of the received events are irrelevant.
