Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 678 Bytes

File metadata and controls

29 lines (25 loc) · 678 Bytes
layout default
title Pulse
type_tag function
groups
name url
Home
name url
Reference
reference/
name url
Algorithm.h
reference/Algorithm.h/

Emits the value of a target signal when an event is received.

Syntax

{% highlight C++ %} template < typename D, typename S, typename E

Events<D,S> Pulse(const Events<D,E>& trigger, const Signal<D,S>& target); {% endhighlight %}

Semantics

Creates an event stream that emits target.Value() when receiving an event from trigger The values of the received events are irrelevant.

Graph

Drawing