zipRight<B> method

ZIO<R, E, B> zipRight<B>(
  1. ZIO<R, E, B> zio
)

Run this ZIO and the given ZIO sequentially, only returning the result of the given ZIO.

Almost identical to flatMap;

Implementation

ZIO<R, E, B> zipRight<B>(ZIO<R, E, B> zio) => flatMap((a) => zio);