LiveLoveApp logo

Solution - Pipeable Operators

Solution

values$
  .pipe(
    tap((value) => console.log('Before:', value)),
    map((value) => value * 2),
    tap((value) => console.log('After:', value))
  )
  .subscribe();