tap<C> method

Effect<E, L, R> tap<C>(
  1. Effect<E, L, C> f(
    1. R r
    )
)

{@category sequencing}

Implementation

Effect<E, L, R> tap<C>(Effect<E, L, C> Function(R r) f) =>
    flatMap((r) => f(r).map((_) => r));