Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 600 Bytes

File metadata and controls

27 lines (23 loc) · 600 Bytes
layout default
title ChangedTo
type_tag function
groups
name url
Home
name url
Reference
reference/
name url
Algorithm.h
reference/Algorithm.h/

Emits a token when the target signal was changed to a specific value.

Syntax

{% highlight C++ %} template < typename D, typename V, typename S = decay::type

Events<D,Token> ChangedTo(const Signal<D,S>& target, V&& value); {% endhighlight %}

Semantics

Creates a token stream that emits when target is changed and target.Value() == value.

V and S should be comparable with ==.