How to use Observables operators with EventEmitter (FormModel.valueChanges) in Angular2
<p>I'm trying to use some simple operators on a EventEmitter (from a FormModel.valueChanges) but I don't know how it's suppose to be done.</p>

<p>The class EventEmitter extends from Subject <br>
<code>export declare class EventEmitter&lt;T&gt; extends Subject&lt;T&gt;</code> <br>
so I tried several things:</p>

<p><code>this.patientForm.valueChanges.debounceTime(400)</code>
<code>this.patientForm.valueChanges.source.debounceTime(400)</code>
<code>this.patientForm.valueChanges.asObservable().debounceTime(400)</code>
<code>Observable.create(this.patientForm.valueChanges).debounceTime(400)</code></p>

<p>tried in the constructor and in ngOnInit <br>
the source is always undefined and the operators don't exist in the class.</p>

<p>I have this import <code>import {Observable} from 'rxjs';</code> could be something with that?</p>

<p>(what I'm trying to do is save the form state in a Redux store, but don't want to do it in every keystroke)</p>