You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often I need to do a switchMap but persist the emitted value. Maybe dispatch an action to the store, but need the observable to wait until dispatching is finished.
The above switches to the inner observable, discards the first emitted value and then emits the original value. It acts like tapping the observable but waiting.
The text was updated successfully, but these errors were encountered:
Overview
Often I need to do a
switchMap
but persist the emitted value. Maybe dispatch an action to the store, but need the observable to wait until dispatching is finished.The above switches to the inner observable, discards the first emitted value and then emits the original
value
. It acts like tapping the observable but waiting.The text was updated successfully, but these errors were encountered: