always method

ZIO<R, E, A> always(
  1. ZIO<R, E, A> zio
)

Always run the given ZIO after this one, regardless of success or failure.

Implementation

ZIO<R, E, A> always(ZIO<R, E, A> zio) =>
    ZIO.from((ctx) => unsafeRun(ctx).then(
          (exit) => zio.unsafeRun(ctx.withoutSignal),
        ));