tapExit<X> method
Implementation
ZIO<R, E, A> tapExit<X>(
ZIO<R, E, X> Function(Exit<E, A> _) f,
) =>
ZIO.from(
(ctx) => race(ctx.signal.awaitIO.lift<R, E>()).unsafeRun(ctx).then(
(exit) => f(exit)
.unsafeRun(ctx.withoutSignal)
.then((_) => _.call(exit)),
),
);