InterruptStatusRestore

final class InterruptStatusRestore(flag: InterruptStatus) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def apply[R, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]
def force[R, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]

Returns a new effect that, if the parent region is uninterruptible, can be interrupted in the background instantaneously. If the parent region is interruptible, then the effect can be interrupted normally, in the foreground.

Returns a new effect that, if the parent region is uninterruptible, can be interrupted in the background instantaneously. If the parent region is interruptible, then the effect can be interrupted normally, in the foreground.