I want to execute tap() only when i get the first emitted value
Something like:
Observable .pipe( tap(() => { /* execute only when I get th
Apart from the already mentioned options you also use multicast.
multicast
multicast(new Subject(), s => concat( s.pipe( take(1), tap(v => console.log('tap', v)), ), s )
Live demo: https://stackblitz.com/edit/rxjs-shvuxm