Pipe and Tap VS subscribe with ngxs : <p>I am playing around with pipe and subscribe. If I am using pipe with tap, nothing will log in console. If I am using subscribe, it's working. So what I am doing wrong?</p>

<pre><code>import { Observable } from 'rxjs';
import { tap, take } from 'rxjs/operators';

this.store.select(state =&gt; state.auth.authUser).pipe(
  take(1),
  tap((data) =&gt; {
    //Not Working - no console output
    console.log('[Tap] User Data', data);

  })
);

this.store.select(state =&gt; state.auth.authUser).subscribe((data) =&gt; {
  // Working - user data output in console
  console.log('[Subscribe] User Data', data);
})
</code></pre>

<p>I am using RxJs 6, TypeScript and ngxs as store in Angular 6.</p>
