RxJava subscribe to blocking observable
<p>I'd like to achieve the following:</p>

<pre><code>String result = myObservable.toBlocking().first();
</code></pre>

<p>i.e. it is like a regular function call. However this never happens because you'd need to subscribe to it, which I don't know how to do. If I subscribe to it, the result will be in another scope, and the code is very ugly because I can only get the result like its a regular observable anyway, so there's no point turning it into a blocking observable.</p>