How to get current value of RxJS Subject or Observable? : <p>I have an Angular 2 service:</p>

<pre><code>import {Storage} from './storage';
import {Injectable} from 'angular2/core';
import {Subject}    from 'rxjs/Subject';

@Injectable()
export class SessionStorage extends Storage {
  private _isLoggedInSource = new Subject&lt;boolean&gt;();
  isLoggedIn = this._isLoggedInSource.asObservable();
  constructor() {
    super('session');
  }
  setIsLoggedIn(value: boolean) {
    this.setItem('_isLoggedIn', value, () =&gt; {
      this._isLoggedInSource.next(value);
    });
  }
}
</code></pre>

<p>Everything works great. But I have another component which doesn't need to subscribe, it just needs to get the current value of isLoggedIn at a certain point in time. How can I do this?</p>
