Sets the signal value to the value of a target signal when an event is received.
template
<
typename D,
typename S,
typename E
>
Signal<D,S> Snapshot(const Events<D,E>& trigger, const Signal<D,S>& target);Creates a signal with value v = target.Value().
The value is set on construction and updated only when receiving an event from trigger.
