How to Subscribe with async method in Rx?
<p>I have following code:</p>

<pre><code>IObservable&lt;Data&gt; _source;

...

_source.Subscribe(StoreToDatabase);

private async Task StoreToDatabase(Data data) {
    await dbstuff(data);
}
</code></pre>

<p>However, this does not compile. Is there any way how to observe data asynchronously? I tried <code>async void</code>, it works, but I feel that given solution is not feasible.</p>

<p>I also checked <a href="https://stackoverflow.com/questions/24843000/reactive-extensions-subscribe-calling-await">Reactive Extensions Subscribe calling await</a>, but it does not answer my question (I do not care about the <code>SelectMany</code> result.)</p>