-
-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
Description
Give that tap's contract is that it can perform side effects but returns an identical Observable, is it not safe to follow a takeUntil with a tap (and thus allow it here)
e.g.
const stream$ = of().pipe(
...
takeUntil(unsubscribe$),
tap((datasets) => { setSomeState(true) })
)